fixed unable to click on hamburger button (#2137)

pull/2141/head
REJack 2019-06-24 12:55:56 +02:00
parent 4350df0686
commit d31d3f0dfc
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888
5 changed files with 13 additions and 14 deletions

View File

@ -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;
}

11
dist/css/adminlte.css vendored
View File

@ -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