|
@@ -1,5 +1,8 @@
|
|
|
@use '@growi/core/scss/bootstrap/init' as bs;
|
|
@use '@growi/core/scss/bootstrap/init' as bs;
|
|
|
|
|
|
|
|
|
|
+@use '~/styles/variables' as var;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
.page-view-layout :global {
|
|
.page-view-layout :global {
|
|
|
min-height: calc(100vh - 48px - 250px); // 100vh - subnavigation height - page-comments-row minimum height
|
|
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 {
|
|
.page-view-layout :global {
|
|
|
.grw-side-contents-sticky-container {
|
|
.grw-side-contents-sticky-container {
|
|
|
position: sticky;
|
|
position: sticky;
|