X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/9e033709a78824decbf959ea25ce8672b026da09..refs/pull/2522/head:/resources/sass/_layout.scss diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scss index c4e412f0e..c12cae256 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,9 @@ body.flexbox { .justify-center { justify-content: center; } +.items-center { + align-items: center; +} /** @@ -175,6 +182,10 @@ body.flexbox { display: none !important; } +.fill-height { + height: 100%; +} + .float { float: left; &.right { @@ -272,6 +283,7 @@ body.flexbox { min-height: 50vh; overflow-y: scroll; overflow-x: hidden; + height: 100%; scrollbar-width: none; -ms-overflow-style: none; &::-webkit-scrollbar { @@ -350,4 +362,4 @@ body.flexbox { margin-inline-start: 0; margin-inline-end: 0; } -} \ No newline at end of file +}