X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/564f4f7c74dacf70d4c3ccb21a89cc9f0360af73..refs/pull/2511/head:/resources/sass/_layout.scss diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scss index e163f06d8..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 { @@ -352,3 +374,7 @@ body.flexbox { margin-inline-end: 0; } } + +.prev-next-btn { + height: 50px; +}