From 0e575802cfe424101d9cc43cdd6f2ac5b513ca89 Mon Sep 17 00:00:00 2001 From: Emilia Date: Wed, 19 Jul 2023 13:01:52 -0400 Subject: [PATCH] Mobile compatibility with last commit Side effect of making columns wider, which is honestly quite nice. --- src/scss/waltuh/layouts/_grid.scss | 4 ++-- src/scss/waltuh/layouts/_modifiers.scss | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/scss/waltuh/layouts/_grid.scss b/src/scss/waltuh/layouts/_grid.scss index 569c9f6..b7ccd56 100644 --- a/src/scss/waltuh/layouts/_grid.scss +++ b/src/scss/waltuh/layouts/_grid.scss @@ -19,7 +19,7 @@ /* Classes */ %offset-grid { margin: 0; - height: 100%; + height: 100vh; width: 100%; div { @@ -49,7 +49,7 @@ $offset-amt: 0.33fr; $dir_adj: "--#{$dir}"; } - @each $size, $size_val in (null: 1fr, wide: 0.6fr, narrow: 1.2fr) { + @each $size, $size_val in (null: 1fr, wide: 20vw, narrow: 1.2fr) { $size_adj: ""; @if $size { $size_adj: "--#{$size}"; diff --git a/src/scss/waltuh/layouts/_modifiers.scss b/src/scss/waltuh/layouts/_modifiers.scss index c4842fa..a984431 100644 --- a/src/scss/waltuh/layouts/_modifiers.scss +++ b/src/scss/waltuh/layouts/_modifiers.scss @@ -18,7 +18,3 @@ $gap-sizes: ("small": 1vmin, "mid": 3vmin, "large": 5vmin); } } } - -.no-overflow { - overflow: hidden; -}