From 52e2f1b9edcf7507dbef073e4978d5deef04b672 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 18 Jun 2022 07:21:26 +0200 Subject: Update --- assets/css/components/_exhibit.scss | 8 +------- assets/css/components/_header.scss | 6 +++--- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'assets/css') diff --git a/assets/css/components/_exhibit.scss b/assets/css/components/_exhibit.scss index 96ed1ae..a68c5f6 100644 --- a/assets/css/components/_exhibit.scss +++ b/assets/css/components/_exhibit.scss @@ -3,12 +3,6 @@ @use 'include-media/dist/include-media' as media; @include iro.props-namespace('exhibit') { - @include iro.props-store(( - --dims: ( - --height: 100vh, - ) - ), 'dims'); - @include iro.props-store(( --colors: ( --footer: ( @@ -22,7 +16,7 @@ grid-template-rows: 1fr auto; grid-template-areas: 'content' 'footer'; box-sizing: border-box; - height: fn.dim(--height); + height: 100vh; @include iro.bem-elem('content') { grid-area: content; diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss index c8b50f8..2d8818f 100644 --- a/assets/css/components/_header.scss +++ b/assets/css/components/_header.scss @@ -19,7 +19,7 @@ @include iro.props-store(( --dims: ( - --height: fn.global-dim(--header --height), + --height: calc(fn.global-dim(--header --height) - 2 * fn.dim(--gap, null)), --icon: 1.5rem, --pad-x: calc(.5 * (fn.dim(--height, null) - fn.dim(--icon, null))), --gap: fn.global-dim(--size --25), @@ -36,8 +36,8 @@ display: flex; position: absolute; z-index: 100; - top: 0; - left: 0; + top: fn.dim(--gap); + left: fn.dim(--gap); height: fn.dim(--height); gap: fn.dim(--gap); -- cgit v1.2.3-70-g09d2