From 818628501604d6cf03e8539c45edcfe40ade0e30 Mon Sep 17 00:00:00 2001 From: RiseLedger Date: Sun, 24 Jan 2016 20:23:31 +0200 Subject: [PATCH] Make sidebar to follow the user --- src/styles/post-template.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/styles/post-template.less b/src/styles/post-template.less index fe421fa..b693166 100644 --- a/src/styles/post-template.less +++ b/src/styles/post-template.less @@ -55,6 +55,9 @@ body { } #left-bar { + position: fixed; + overflow-y: auto; + height: 100%; box-sizing: border-box; display: table-cell; background-color: @leftBarBackgroundColor; @@ -63,6 +66,8 @@ body { padding: 10px 35px 35px 35px; @media (max-width: @doubleColumnMaxWidth) { + position: static; + height: auto; display: block; width: 100%; padding: 0px 20px 0px 20px; @@ -276,7 +281,7 @@ body { #content { display: table-cell; - padding: 10px 35px 35px 50px; + padding: 10px 35px 35px 375px; color: @contentTextColor; @media (max-width: @doubleColumnMaxWidth) {