Yuki Takei %!s(int64=2) %!d(string=hai) anos
pai
achega
0b9d552746
Modificáronse 1 ficheiros con 11 adicións e 1 borrados
  1. 11 1
      apps/app/src/components/Layout/PageViewLayout.module.scss

+ 11 - 1
apps/app/src/components/Layout/PageViewLayout.module.scss

@@ -1,5 +1,8 @@
 @use '@growi/core/scss/bootstrap/init' as bs;
 
+@use '~/styles/variables' as var;
+
+
 .page-view-layout :global {
   min-height: calc(100vh - 48px - 250px); // 100vh - subnavigation height - page-comments-row minimum height
 
@@ -14,7 +17,14 @@
   }
 }
 
-// sticky
+// md/lg layout padding
+.page-view-layout :global {
+  @include bs.media-breakpoint-between(sm, lg) {
+    padding-left: var.$grw-sidebar-nav-width;
+  }
+}
+
+// sticky side contents
 .page-view-layout :global {
   .grw-side-contents-sticky-container {
     position: sticky;