]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_spacing.scss
respective book and chapter structure added.
[bookstack] / resources / sass / _spacing.scss
index 40217de9b344c37541c063f295c51f928c5ade0d..14f8918dcb4650fadc3047e02727889d61847d7a 100644 (file)
   }
 }
 @include spacing('margin', 'm');
-@include spacing('padding', 'p');
\ No newline at end of file
+@include spacing('padding', 'p');
+
+@each $sizeLetter, $size in $spacing {
+  .gap-#{$sizeLetter} {
+    gap: $size !important;
+  }
+  .gap-x-#{$sizeLetter} {
+    column-gap: $size !important;
+  }
+  .gap-y-#{$sizeLetter} {
+    row-gap: $size !important;
+  }
+}