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
lolsob-rspec
857b 2017-04-19 14:30:23 +02:00 committed by Eugen
parent 4439bcce9a
commit 0e51c20a7c
1 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,8 @@
.sidebar { .sidebar {
width: 240px; width: 240px;
height: 100%; height: 100%;
padding: 20px 0; padding: 0;
overflow-y: auto;
.logo { .logo {
display: block; display: block;
@ -27,6 +28,7 @@
list-style: none; list-style: none;
border-radius: 4px 0 0 4px; border-radius: 4px 0 0 4px;
overflow: hidden; overflow: hidden;
margin-bottom: 20px;
a { a {
display: block; display: block;
@ -55,6 +57,7 @@
ul { ul {
background: darken($color1, 4%); background: darken($color1, 4%);
border-radius: 0 0 0 4px; border-radius: 0 0 0 4px;
margin: 0;
a { a {
border: 0; border: 0;