From e1692a6d6d5d91b4f4813395e19fbc8b8538db07 Mon Sep 17 00:00:00 2001 From: Sepehr Mohaghegh Date: Sat, 26 May 2018 12:27:54 +0430 Subject: [PATCH] Fix Unwanted Horizontal Scrollbar In Sidebar I found an unwanted horizontal scroll bar on bottom of the side bar (Both paper dashboard 1 and 2 and also their free versions). I digged into css files and found that the little triangle that shows active items is 1px outside of sidebar wrapper. --- assets/css/paper-dashboard.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/css/paper-dashboard.css b/assets/css/paper-dashboard.css index 4274600..efeee6e 100644 --- a/assets/css/paper-dashboard.css +++ b/assets/css/paper-dashboard.css @@ -6295,15 +6295,15 @@ License - nucleoapp.com/license/ } .sidebar .sidebar-wrapper li.active>a:not([data-toggle="collapse"]):before, .sidebar .sidebar-wrapper li.active>[data-toggle="collapse"]+div .nav li:before { - border-right: 17px solid #DDDDDD; - border-top: 17px solid transparent; - border-bottom: 17px solid transparent; + border-right: 18px solid #DDDDDD; + border-top: 18px solid transparent; + border-bottom: 18px solid transparent; content: ""; display: inline-block; position: absolute; - right: -16px; + right: -15px; opacity: 1; - top: 7px; + top: 6px; transition: opacity 150ms ease-in; } .sidebar .sidebar-wrapper li.active>a:not([data-toggle="collapse"]):after, @@ -6314,7 +6314,7 @@ License - nucleoapp.com/license/ content: ""; display: inline-block; position: absolute; - right: -17px; + right: -15px; opacity: 1; top: 7px; transition: opacity 150ms ease-in; @@ -6428,4 +6428,4 @@ License - nucleoapp.com/license/ } } -/*# sourceMappingURL=dashboard-free.css.map */ \ No newline at end of file +/*# sourceMappingURL=dashboard-free.css.map */