From 3985316ee8c92c439daa51a1d1fd94e560b1f78c Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Mon, 29 Sep 2014 14:29:48 +0200 Subject: [PATCH 1/2] Fix Sidebar Gap --- src/styles/brackets.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/brackets.less b/src/styles/brackets.less index 0a32dfeaad3..0796a12e87c 100644 --- a/src/styles/brackets.less +++ b/src/styles/brackets.less @@ -773,7 +773,7 @@ a, img { } #sidebar { - position: relative; + position: absolute; white-space: nowrap; } From 35fb2433f7d0cf46e3484aad911f3e5c6a415650 Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Sat, 4 Oct 2014 21:28:35 +0200 Subject: [PATCH 2/2] Refactored CSS --- src/styles/brackets.less | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/src/styles/brackets.less b/src/styles/brackets.less index 0796a12e87c..7131a7c98f8 100644 --- a/src/styles/brackets.less +++ b/src/styles/brackets.less @@ -98,23 +98,24 @@ a, img { height: 100%; .dark & { - background: @dark-bc-menu-bg; + background: @dark-bc-menu-bg; } - .sidebar { + .sidebar, .content { height: 100%; - .vbox; - width: @sidebar-width; // changed dynamically via Resizer position: absolute; - left: 0; top: 0; } + .sidebar { + .vbox; + left: 0; + width: @sidebar-width; // changed dynamically via Resizer + white-space: nowrap; + } + .content { - height: 100%; - position: absolute; padding: 0; - top: 0; left: @sidebar-width; // changed dynamically via Resizer right: @main-toolbar-width; } @@ -772,11 +773,6 @@ a, img { } } -#sidebar { - position: absolute; - white-space: nowrap; -} - #sidebar-resizer { position: absolute; width: 6px;