Skip to content

Commit a6d1140

Browse files
authored
Merge pull request #167 from u9520107/enhance/slide-menu
fix bug where the trapezoid in SlideMenu has the wrong size
2 parents 85f1cc6 + a8cc29e commit a6d1140

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/SlideMenu/styles.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
border-right: 5px solid $gray;
3030
border-top: 5px solid transparent;
3131
border-bottom: 5px solid transparent;
32-
height: 14px;
32+
box-sizing: border-box;
33+
height: 24px;
3334
width: 0;
3435
right: 100%;
3536
}
@@ -39,7 +40,8 @@
3940
border-right: 5px solid #fff;
4041
border-top: 5px solid transparent;
4142
border-bottom: 5px solid transparent;
42-
height: 13px;
43+
box-sizing: border-box;
44+
height: 22px;
4345
left: 1px;
4446
}
4547
.toggleButtonIcon {

0 commit comments

Comments
 (0)