mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 12:16:07 +00:00
Fixed sidebar scroll on mobile
This commit is contained in:
parent
576a59a693
commit
c1627a1468
@ -81,6 +81,8 @@ body.flexbox {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
transform: translate3d(-330px, 0, 0);
|
transform: translate3d(-330px, 0, 0);
|
||||||
transition: transform ease-in-out 120ms;
|
transition: transform ease-in-out 120ms;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.flex.sidebar.open {
|
.flex.sidebar.open {
|
||||||
box-shadow: 1px 2px 2px 1px rgba(0,0,0,.10);
|
box-shadow: 1px 2px 2px 1px rgba(0,0,0,.10);
|
||||||
@ -114,6 +116,10 @@ body.flexbox {
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.sidebar .scroll-body {
|
||||||
|
flex: 1;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
#sidebar .scroll-body.fixed {
|
#sidebar .scroll-body.fixed {
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user