From ace01c890a90dee9ccc26b0cc21bf454151f5edb Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Thu, 6 Dec 2018 23:17:27 +0200 Subject: [PATCH] Set max-width to the container to make things work properly --- chrome/autohide_sidebar.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/autohide_sidebar.css b/chrome/autohide_sidebar.css index 003f571..0ae1d99 100644 --- a/chrome/autohide_sidebar.css +++ b/chrome/autohide_sidebar.css @@ -7,6 +7,7 @@ position: relative; min-width: var(--uc-sidebar-width) !important; width: var(--uc-sidebar-width) !important; + max-width: var(--uc-sidebar-width) !important; } #sidebar-splitter{ display: none } @@ -21,9 +22,10 @@ #sidebar-box:hover > #sidebar{ min-width: var(--uc-sidebar-hover-width) !important; } -/* Add sidebar divider */ +/* Add sidebar divider and give it background */ #sidebar, #sidebar-header{ + background-color: var(--toolbar-non-lwt-bgcolor) !important; border-right: 1px solid rgb(80,80,80); } \ No newline at end of file