X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/9e033709a78824decbf959ea25ce8672b026da09..refs/pull/2902/head:/resources/sass/_layout.scss diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scss index c4e412f0e..e26948301 100644 --- a/resources/sass/_layout.scss +++ b/resources/sass/_layout.scss @@ -95,6 +95,10 @@ } } +#content { + flex: 1 0 auto; +} + /** * Flexbox layout system */ @@ -153,6 +157,12 @@ body.flexbox { .justify-center { justify-content: center; } +.justify-space-between { + justify-content: space-between; +} +.items-center { + align-items: center; +} /** @@ -171,10 +181,18 @@ body.flexbox { display: inline-block !important; } +.relative { + position: relative; +} + .hidden { display: none !important; } +.fill-height { + height: 100%; +} + .float { float: left; &.right { @@ -198,6 +216,13 @@ body.flexbox { } } +/** + * Border radiuses + */ +.rounded { + border-radius: 4px; +} + /** * Inline content columns */ @@ -245,6 +270,7 @@ body.flexbox { .tri-layout-middle { grid-area: b; padding-top: $-m; + min-width: 0; } } @include smaller-than($xxl) { @@ -272,6 +298,7 @@ body.flexbox { min-height: 50vh; overflow-y: scroll; overflow-x: hidden; + height: 100%; scrollbar-width: none; -ms-overflow-style: none; &::-webkit-scrollbar {