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,7 +6,7 @@ | ||
| 6 | // 垂直对齐参考线 | 6 | // 垂直对齐参考线 |
| 7 | .v-line { | 7 | .v-line { |
| 8 | position: absolute; | 8 | position: absolute; |
| 9 | - height: 100vh; | 9 | + height: 100%; |
| 10 | width: 1px; | 10 | width: 1px; |
| 11 | top: 0; | 11 | top: 0; |
| 12 | background-color: #94f5ff; | 12 | background-color: #94f5ff; |
| @@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
| 16 | .h-line { | 16 | .h-line { |
| 17 | position: absolute; | 17 | position: absolute; |
| 18 | height: 1px; | 18 | height: 1px; |
| 19 | - width: 100vh; | 19 | + width: 100%; |
| 20 | left: 0; | 20 | left: 0; |
| 21 | background-color: #94f5ff; | 21 | background-color: #94f5ff; |
| 22 | } | 22 | } |
| 23 | \ No newline at end of file | 23 | \ No newline at end of file |