From d1a14dea4668a0ae8bdbd0f6f32376cd8406688d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 11 Feb 2022 22:38:01 +0100 Subject: Update --- src/layouts/_button-group.scss | 4 ++-- src/layouts/_card.scss | 8 ++++---- src/layouts/_container.scss | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/layouts') diff --git a/src/layouts/_button-group.scss b/src/layouts/_button-group.scss index aee2000..17de1e1 100644 --- a/src/layouts/_button-group.scss +++ b/src/layouts/_button-group.scss @@ -4,12 +4,12 @@ @include iro.props-namespace('button-group') { @include iro.props-store(( --dims: ( - --spacing: 1rem + --spacing: iro.fn-px-to-rem(16px), ), ), 'dims'); @include iro.bem-layout(iro.props-namespace()) { display: flex; - gap: 1rem; + gap: fn.dim(--spacing); } } diff --git a/src/layouts/_card.scss b/src/layouts/_card.scss index ce742bf..75c16ff 100644 --- a/src/layouts/_card.scss +++ b/src/layouts/_card.scss @@ -5,11 +5,11 @@ @include iro.props-namespace('card') { @include iro.props-store(( --dims: ( - --pad-x: .6rem, - --pad-y: .4rem, + --pad-x: iro.fn-px-to-rem(10px), + --pad-y: iro.fn-px-to-rem(7px), --lg: ( - --pad-x: .9rem, - --pad-y: .7rem, + --pad-x: iro.fn-px-to-rem(14px), + --pad-y: iro.fn-px-to-rem(11px), ) ) ), 'dims'); diff --git a/src/layouts/_container.scss b/src/layouts/_container.scss index 7f13a8b..f63b04d 100644 --- a/src/layouts/_container.scss +++ b/src/layouts/_container.scss @@ -7,8 +7,8 @@ --dims: ( --content-width: iro.fn-px-to-rem(700px), --sm-content-width: iro.fn-px-to-rem(360px), - --pad-x: 3rem, - --pad-y: 3rem, + --pad-x: 3rem, + --pad-y: 3rem, --in-page-spacing-y: fn.global-dim(--spacing --y --xl), ) ), 'dims'); -- cgit v1.2.3-70-g09d2