1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Updated tri-layout sidebars to not be cut-off by padding

Would cause effect where scroll area would be cut of by spacing which
looked a bit strange. This retains the same padding sizes but cuts the
content at the header or top of viewport.
This commit is contained in:
Dan Brown
2022-05-14 13:55:03 +01:00
parent 35a47a273b
commit 78920d7d65
2 changed files with 4 additions and 4 deletions

View File

@@ -295,9 +295,9 @@ body.flexbox {
}
@include larger-than($xxl) {
.tri-layout-left-contents, .tri-layout-right-contents {
padding: $-m;
padding: $-xl $-m;
position: sticky;
top: $-m;
top: 0;
max-height: 100vh;
min-height: 50vh;
overflow-y: scroll;