Set max-width to the container to make things work properly

This commit is contained in:
MrOtherGuy 2018-12-06 23:17:27 +02:00
parent 64f01c9b76
commit ace01c890a

View file

@ -7,6 +7,7 @@
position: relative; position: relative;
min-width: var(--uc-sidebar-width) !important; min-width: var(--uc-sidebar-width) !important;
width: var(--uc-sidebar-width) !important; width: var(--uc-sidebar-width) !important;
max-width: var(--uc-sidebar-width) !important;
} }
#sidebar-splitter{ display: none } #sidebar-splitter{ display: none }
@ -21,9 +22,10 @@
#sidebar-box:hover > #sidebar{ min-width: var(--uc-sidebar-hover-width) !important; } #sidebar-box:hover > #sidebar{ min-width: var(--uc-sidebar-hover-width) !important; }
/* Add sidebar divider */ /* Add sidebar divider and give it background */
#sidebar, #sidebar,
#sidebar-header{ #sidebar-header{
background-color: var(--toolbar-non-lwt-bgcolor) !important;
border-right: 1px solid rgb(80,80,80); border-right: 1px solid rgb(80,80,80);
} }