about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
author857b <benjamin.bonneau74@gmail.com>2017-04-19 14:30:23 +0200
committerEugen <eugen@zeonfederated.com>2017-04-19 14:30:23 +0200
commit3572f4423f1b0a50c06129a106a0dc599cba0335 (patch)
tree9825f12326699645a224f9afae1397ea0d81270d /app
parent23eea5c5ae08376b277d1bae3a621a444022079c (diff)
enable to scroll the setting's page sidebar (#1347)
* enable to scroll the setting's page sidebar

add scroll:auto and use margin instead of padding for the bottom

* Update admin.scss

* Update admin.scss

* Update admin.scss
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/admin.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss
index af0c2c6a1..6d246ded2 100644
--- a/app/assets/stylesheets/admin.scss
+++ b/app/assets/stylesheets/admin.scss
@@ -14,8 +14,9 @@
   .sidebar {
     width: 240px;
     height: 100%;
-    padding: 20px 0;
-
+    padding: 0;
+    overflow-y: auto;
+    
     .logo {
       display: block;
       margin: 40px auto;
@@ -27,6 +28,7 @@
       list-style: none;
       border-radius: 4px 0 0 4px;
       overflow: hidden;
+      margin-bottom: 20px;
 
       a {
         display: block;
@@ -55,6 +57,7 @@
       ul {
         background: darken($color1, 4%);
         border-radius: 0 0 0 4px;
+        margin: 0;
 
         a {
           border: 0;