X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/328d2514c4873968888022fb8dbf8ca792bbad52..refs/pull/2515/head:/resources/sass/_layout.scss diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scss index 519cb27ad..4873ff2da 100644 --- a/resources/sass/_layout.scss +++ b/resources/sass/_layout.scss @@ -150,28 +150,38 @@ body.flexbox { .justify-flex-end { justify-content: flex-end; } +.justify-center { + justify-content: center; +} +.items-center { + align-items: center; +} /** * Display and float utilities */ .block { - display: block; + display: block !important; position: relative; } .inline { - display: inline; + display: inline !important; } .block.inline { - display: inline-block; + display: inline-block !important; } .hidden { display: none !important; } +.fill-height { + height: 100%; +} + .float { float: left; &.right { @@ -269,6 +279,7 @@ body.flexbox { min-height: 50vh; overflow-y: scroll; overflow-x: hidden; + height: 100%; scrollbar-width: none; -ms-overflow-style: none; &::-webkit-scrollbar { @@ -347,4 +358,4 @@ body.flexbox { margin-inline-start: 0; margin-inline-end: 0; } -} \ No newline at end of file +}