X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/9e033709a78824decbf959ea25ce8672b026da09..refs/pull/2511/head:/resources/sass/_layout.scss diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scss index c4e412f0e..57800d41e 100644 --- a/resources/sass/_layout.scss +++ b/resources/sass/_layout.scss @@ -62,6 +62,9 @@ } @include smaller-than($m) { + .grid.third.prev-next:not(.no-break) { + grid-template-columns: 1fr 1fr 1fr; + } .grid.third:not(.no-break) { grid-template-columns: 1fr 1fr; } @@ -81,12 +84,24 @@ .grid.right-focus.reverse-collapse > *:nth-child(1) { order: 1; } + .grid.third:not(.no-break) .text-m-left { + margin-left: 20%; + } + .grid.third:not(.no-break) .text-m-right { + margin-left: 45%; + } } @include smaller-than($s) { .grid.third:not(.no-break) { grid-template-columns: 1fr; } + .grid.third:not(.no-break) .text-m-left { + margin-left: 18%; + } + .grid.third:not(.no-break) .text-m-right { + margin-left: 20%; + } } @include smaller-than($xs) { @@ -153,6 +168,9 @@ body.flexbox { .justify-center { justify-content: center; } +.items-center { + align-items: center; +} /** @@ -175,6 +193,10 @@ body.flexbox { display: none !important; } +.fill-height { + height: 100%; +} + .float { float: left; &.right { @@ -272,6 +294,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 +373,8 @@ body.flexbox { margin-inline-start: 0; margin-inline-end: 0; } -} \ No newline at end of file +} + +.prev-next-btn { + height: 50px; +}