From 23deadd4773d2f36bfb1da2c5ceac0fac695c52a Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 14 Nov 2021 16:49:28 +0100 Subject: Fix small viewports --- assets/css/_basics.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'assets/css/_basics.scss') diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index 4d4ecc6..c332ff7 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss @@ -19,26 +19,27 @@ code { } html { + height: 100%; background-color: prop(--colors --bg); color: prop(--colors --fg); font-family: $font-fam--text; font-size: 1em / 16px * $font-size; line-height: $line-height; - height: 100%; } body { display: flex; + box-sizing: border-box; flex-direction: column; min-height: 100%; margin: 0; padding: 2px; - box-sizing: border-box; } main { - width: 100%; - + box-sizing: border-box; + width: 100%; + @include iro-responsive-env(('sm', 'md')) { font-size: iro-responsive-set((1rem, 1 / 16 * 18rem)); } -- cgit v1.2.3-54-g00ecf