Fix issues with minimal-layout if the sidebar has been collapsed

This commit is contained in:
Eric Lippmann 2017-11-27 13:52:39 +01:00
parent 4ee9ae9ff6
commit 5058868c2b
2 changed files with 3 additions and 3 deletions

View File

@ -252,7 +252,7 @@ html.no-js .controls > .tabs {
}
// Collapsed sidebar
#layout.sidebar-collapsed {
#layout:not(.minimal-layout).sidebar-collapsed {
#header-logo-container {
height: 3.167em;
padding: 0.25em 0.125em;

View File

@ -25,7 +25,7 @@
position: absolute;
}
#layout.sidebar-collapsed #menu {
#layout:not(.minimal-layout).sidebar-collapsed #menu {
min-width: 6em;
width: auto;
}
@ -60,7 +60,7 @@
white-space: nowrap;
}
#layout.sidebar-collapsed #menu .nav-level-1 > .nav-item > a {
#layout:not(.minimal-layout).sidebar-collapsed #menu .nav-level-1 > .nav-item > a {
// Clip overflowing content
overflow: hidden;
width: 4em;