From e56cf436c9d5809870eec7e3d972b5c5a927244d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 17 Nov 2024 10:38:36 +0100 Subject: Fix --- src/objects/_tabs.scss | 2 +- src/objects/_tabs.vars.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/objects/_tabs.scss b/src/objects/_tabs.scss index e6315fd..d130b90 100644 --- a/src/objects/_tabs.scss +++ b/src/objects/_tabs.scss @@ -17,7 +17,7 @@ flex: 1 1 auto; gap: props.get(vars.$spacing); min-inline-size: 0; - block-size: props.get(iro.$core--size--700); + block-size: props.get(vars.$block-size); padding-inline: calc(.5 * props.get(vars.$spacing)); margin-inline: calc(-.5 * props.get(vars.$spacing)); overflow-inline: auto; diff --git a/src/objects/_tabs.vars.scss b/src/objects/_tabs.vars.scss index daad166..174fb3b 100644 --- a/src/objects/_tabs.vars.scss +++ b/src/objects/_tabs.vars.scss @@ -3,6 +3,7 @@ @use 'iro-sass/src/props'; @use '../core.vars' as core; +$block-size: props.def(--o-tabs--rounding, props.get(core.$size--700)) !default; $rounding: props.def(--o-tabs--rounding, props.get(core.$rounding)) !default; $spacing: props.def(--o-tabs--spacing, props.get(core.$size--400)) !default; $tab--pad-i: props.def(--o-tabs--tab--pad-i, props.get(core.$size--50)) !default; -- cgit v1.2.3-70-g09d2