Commit a9a712316f4e4e15a8567bf15878e8f2306bb100
Committed by
小小鲁班
1 parent
ce68f8f1
fix scrollbar show when h-line&v-line visible
Showing
1 changed file
with
2 additions
and
2 deletions
front-end/h5/src/components/core/styles/align-guides.scss
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | // 垂直对齐参考线 |
| 7 | 7 | .v-line { |
| 8 | 8 | position: absolute; |
| 9 | - height: 100vh; | |
| 9 | + height: 100%; | |
| 10 | 10 | width: 1px; |
| 11 | 11 | top: 0; |
| 12 | 12 | background-color: #94f5ff; |
| ... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | .h-line { |
| 17 | 17 | position: absolute; |
| 18 | 18 | height: 1px; |
| 19 | - width: 100vh; | |
| 19 | + width: 100%; | |
| 20 | 20 | left: 0; |
| 21 | 21 | background-color: #94f5ff; |
| 22 | 22 | } |
| 23 | 23 | \ No newline at end of file | ... | ... |