From 21374a82f5e7e9cb5e2f449633e6814fcb27f1b7 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 14 Feb 2022 18:54:19 +0100 Subject: Fixed menu --- src/objects/_menu.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/objects/_menu.scss b/src/objects/_menu.scss index 869b367..f03dbc1 100644 --- a/src/objects/_menu.scss +++ b/src/objects/_menu.scss @@ -4,10 +4,13 @@ @include iro.props-namespace('menu') { @include iro.props-store(( --dims: ( - --separator: fn.global-dim(--size --85), + --header: ( + --font-size: fn.global-dim(--font-size --50), + ), + --separator: fn.global-dim(--size --150), --item: ( --pad-x: fn.global-dim(--size --150), - --pad-y: fn.global-dim(--size --85), + --pad-y: fn.global-dim(--size --100), ), ), ), 'dims'); @@ -42,7 +45,7 @@ fn.dim(--item --pad-x) calc(.5 * fn.dim(--item --pad-y)); color: fn.color(--header --label); - font-size: fn.global-dim(--font-size --50); + font-size: fn.dim(--header --font-size); font-weight: 500; letter-spacing: .5px; text-transform: uppercase; -- cgit v1.2.3-70-g09d2