Fix #5155. Hamburger icon has now become a pseudo-element meaning the old way of centre positioning it will not work. Updated version will work.
height: 0;
@if $offcanvas {
- @if $top {
- top: $top;
- }
- @else {
- top: ($width - rem-calc(3 * $thickness) - rem-calc(2 * $gap))/2;
- }
- // disable width centering if $top is not false
+ @if $top {
+ top: $top;
+ }
+ @else {
+ top: 50%;
+ margin-top: -$width/2;
+ }
@if $left {
- left: $left;
+ left: $left;
}
@else {
- left: ($tabbar-menu-icon-width - $width)/2;
+ left: ($tabbar-menu-icon-width - $width)/2;
}
}
+
box-shadow:
0 0px 0 $thickness $color,
0 $gap + $thickness 0 $thickness $color,
0 (2 * $gap + 2*$thickness) 0 $thickness $color;
width: $width;
}
- &:hover {
+ span:hover:after {
box-shadow:
0 0px 0 $thickness $hover-color,
0 $gap + $thickness 0 $thickness $hover-color,