Browse Source

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
closed-social-glitch-2
857b 7 years ago
committed by Eugen
parent
commit
3572f4423f
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      app/assets/stylesheets/admin.scss

+ 5
- 2
app/assets/stylesheets/admin.scss View File

@ -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;

Loading…
Cancel
Save