From caa2570c5177246cb59808de4a225d6fee19c524 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 17 Jun 2022 10:59:19 +0200 Subject: Update --- assets/css/components/_hnav.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'assets/css/components') diff --git a/assets/css/components/_hnav.scss b/assets/css/components/_hnav.scss index 1b57cc0..4023c82 100644 --- a/assets/css/components/_hnav.scss +++ b/assets/css/components/_hnav.scss @@ -11,7 +11,8 @@ @include iro.props-store(( --dims: ( - --gap: 1.5em, + --gap-x: fn.global-dim(--size --300), + --gap-y: fn.global-dim(--size --150), --font-size: .9em, --margin-top: fn.global-dim(--paragraph --margin-top), --margin-bottom: fn.global-dim(--size --1000), @@ -22,7 +23,7 @@ @include iro.bem-component(iro.props-namespace()) { display: flex; flex-wrap: wrap; - gap: calc(.5 * fn.dim(--gap)) fn.dim(--gap); + gap: fn.dim(--gap-y) fn.dim(--gap-x); align-items: baseline; margin: fn.dim(--margin-top) 0 fn.dim(--margin-bottom); padding-top: fn.dim(--pad-top); -- cgit v1.2.3-70-g09d2