Skip to content
Snippets Groups Projects
Unverified Commit a839b2af authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Make sidebar scrollable. It prevents content overflow for small screens

parent 4f0455c9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,6 +2,8 @@
.sidebar-wrapper {
position: fixed;
top: 0;
bottom: 0;
overflow-y: scroll;
left: 0;
height: 100%;
transition-duration: .3s;
Loading
Loading
@@ -21,8 +23,9 @@
}
 
.nav-sidebar {
margin-top: 29 + $header-height;
margin-bottom: 50px;
transition-duration: .3s;
margin: 0;
list-style: none;
overflow: hidden;
 
Loading
Loading
@@ -88,9 +91,6 @@
width: $sidebar_width;
 
.nav-sidebar {
margin-top: 29px;
position: fixed;
top: $header-height;
width: $sidebar_width;
}
 
Loading
Loading
@@ -114,9 +114,6 @@
width: $sidebar_collapsed_width;
 
.nav-sidebar {
margin-top: 29px;
position: fixed;
top: $header-height;
width: $sidebar_collapsed_width;
 
li a {
Loading
Loading
@@ -178,7 +175,7 @@
}
 
.sidebar-user {
position: absolute;
position: fixed;
bottom: 0;
width: $sidebar_width;
padding: 10px;
Loading
Loading
Loading
Loading
@@ -38,6 +38,7 @@
border-right: 1px solid $color-darker;
 
.sidebar-user {
background: $color-darker;
color: $color-light;
 
&:hover {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment