]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_layout.scss
Add prev and next button to navigate through different pages
[bookstack] / resources / sass / _layout.scss
index 4873ff2da651ee1575a048a4973f95069fa0a343..57800d41ef436f791062f62d0b0288387866c0fb 100644 (file)
@@ -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;
   }
   .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) {
@@ -359,3 +374,7 @@ body.flexbox {
     margin-inline-end: 0;
   }
 }
+
+.prev-next-btn {
+  height: 50px;
+}