From 789a593987be88bc3e16b8ceb7357c24ef9e5aa2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 14 Nov 2021 16:32:43 +0100 Subject: Optimized layout structure --- assets/css/_basics.scss | 2 ++ assets/css/components/_header.scss | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'assets') diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index b9096e9..4d4ecc6 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss @@ -37,6 +37,8 @@ body { } main { + width: 100%; + @include iro-responsive-env(('sm', 'md')) { font-size: iro-responsive-set((1rem, 1 / 16 * 18rem)); } diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss index 341be75..a59c039 100644 --- a/assets/css/components/_header.scss +++ b/assets/css/components/_header.scss @@ -64,5 +64,9 @@ width: prop(--dims --icon); height: prop(--dims --icon); } + + @include media('>=lg') { + position: absolute; + } } } -- cgit v1.2.3-70-g09d2