Skip to content
Snippets Groups Projects
Commit a4f58fc4 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Offcanvas facet scrolling.

parent bf6c693b
No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -554,18 +554,21 @@ li.jstree-facet ul {padding-left: 20px;} ...@@ -554,18 +554,21 @@ li.jstree-facet ul {padding-left: 20px;}
overflow-x: hidden; /* Prevent scroll on narrow devices */ overflow-x: hidden; /* Prevent scroll on narrow devices */
.sidebar { .sidebar {
position: fixed; position: fixed;
height: 100%;
top: 0; top: 0;
width: @offcanvas-offset; width: @offcanvas-offset;
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
overflow-y: auto;
h4 {padding-left: @padding-base-horizontal;} h4 {padding-left: @padding-base-horizontal;}
.checkbox {margin-left: 20px+@padding-base-horizontal;} .checkbox {margin-left: 20px+@padding-base-horizontal;}
.list-group, .list-group * { .list-group, .list-group-item {
border-left: 0; border-left: 0;
border-right: 0; border-right: 0;
border-radius: 0 !important; border-radius: 0 !important;
} }
} }
&.active {overflow-y: hidden;}
&.offcanvas-left { &.offcanvas-left {
& > .container { & > .container {
background: #FFF; background: #FFF;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment