fix: mobile sidebar visibility and shadow when open
This commit is contained in:
@@ -714,9 +714,19 @@ code {
|
|||||||
z-index: 200;
|
z-index: 200;
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
transition: transform .3s ease;
|
transition: transform .3s ease;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
.sidebar.mobile-open {
|
.sidebar.mobile-open {
|
||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
|
box-shadow: 4px 0 24px rgba(0,0,0,.3);
|
||||||
|
}
|
||||||
|
.sidebar.mobile-open .nav-label,
|
||||||
|
.sidebar.mobile-open .sidebar-title,
|
||||||
|
.sidebar.mobile-open .sidebar-logo {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
width: auto;
|
||||||
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
|
|||||||
Reference in New Issue
Block a user