mirror of https://github.com/ColorlibHQ/AdminLTE
fixed unable to click on hamburger button (#2137)
parent
4350df0686
commit
d31d3f0dfc
|
@ -155,28 +155,30 @@ body,
|
|||
|
||||
&.sidebar-collapse {
|
||||
.brand-link {
|
||||
$local-sidebar-transition: width $transition-speed $transition-fn;
|
||||
@include transition($local-sidebar-transition);
|
||||
transition: width $transition-speed $transition-fn;
|
||||
width: $sidebar-mini-width;
|
||||
height: 57px;
|
||||
}
|
||||
|
||||
.main-sidebar:hover {
|
||||
.brand-link {
|
||||
transition: width $transition-speed $transition-fn;
|
||||
width: $sidebar-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.sidebar {
|
||||
margin-top: 57px;
|
||||
}
|
||||
|
||||
.brand-link {
|
||||
|
||||
transition: width $transition-speed $transition-fn;
|
||||
position: fixed;
|
||||
overflow: hidden;
|
||||
top: 0;
|
||||
z-index: $zindex-main-sidebar;
|
||||
z-index: $zindex-main-sidebar + 1;
|
||||
width: $sidebar-width;
|
||||
}
|
||||
|
||||
|
|
|
@ -9800,13 +9800,8 @@ body,
|
|||
height: 57px;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.layout-navbar-fixed.sidebar-collapse .brand-link {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-navbar-fixed.sidebar-collapse .main-sidebar:hover .brand-link {
|
||||
transition: width 0.3s ease-in-out;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
|
@ -9815,9 +9810,11 @@ body,
|
|||
}
|
||||
|
||||
.layout-navbar-fixed .brand-link {
|
||||
transition: width 0.3s ease-in-out;
|
||||
position: fixed;
|
||||
overflow: hidden;
|
||||
top: 0;
|
||||
z-index: 950;
|
||||
z-index: 951;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue