X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/31dbf132b932bd0777edc87605f62c3681d94b32..refs/pull/3555/head:/resources/sass/_layout.scss diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scss index b1c80cb53..2cd57d496 100644 --- a/resources/sass/_layout.scss +++ b/resources/sass/_layout.scss @@ -26,6 +26,9 @@ display: grid; grid-column-gap: $-l; grid-row-gap: $-l; + > * { + min-width: 0; + } &.half { grid-template-columns: 1fr 1fr; } @@ -155,6 +158,13 @@ body.flexbox { } } +.gap-m { + gap: $-m; +} + +.justify-flex-start { + justify-content: flex-start; +} .justify-flex-end { justify-content: flex-end; } @@ -295,9 +305,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;