Browse Source

tidy up spacing

Yuki Takei 1 year ago
parent
commit
61b5600da9

+ 0 - 1
apps/app/src/components/Common/PagePathNav/PagePathNav.module.scss

@@ -8,7 +8,6 @@
 
 .grw-page-path-nav-sticky :global {
   min-height: 75px;
-  margin-left: 16px;
 
   .sticky-inner-wrapper {
     z-index: bs.$zindex-sticky;

+ 12 - 0
apps/app/src/styles/_layout.scss

@@ -65,6 +65,18 @@ body {
       --bs-gutter-x: 3rem;
     }
   }
+
+  // set to double value to allow space for .revision-head-link
+  @include bs.media-breakpoint-up(xl) {
+    &,
+    .container,
+    .container-fluid,
+    .container-xxl,
+    .container-xl,
+    .container-lg {
+      padding-left: calc(var(--bs-gutter-x) * 1);
+    }
+  }
 }
 
 // printable style

+ 0 - 1
apps/app/src/styles/organisms/_wiki.scss

@@ -10,7 +10,6 @@
       border-left-color: var(--bs-border-color);
     }
   }
-  margin-left: 16px;
 
   font-size: 16px;