From bfd2f3750498826f457f96b7dd89476589fa31cd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 25 Jun 2024 19:17:42 +0200 Subject: Fix form --- src/objects/_field-label.scss | 4 ++-- src/objects/_switch.scss | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/objects') diff --git a/src/objects/_field-label.scss b/src/objects/_field-label.scss index 9f267cb..1518ea6 100644 --- a/src/objects/_field-label.scss +++ b/src/objects/_field-label.scss @@ -35,8 +35,8 @@ } @include iro.bem-elem('content') { - display: block; - inline-size: 100%; + display: block; + flex: 1 1 auto; } @include iro.bem-elem('hint') { diff --git a/src/objects/_switch.scss b/src/objects/_switch.scss index a67aa8d..e1f1132 100644 --- a/src/objects/_switch.scss +++ b/src/objects/_switch.scss @@ -16,17 +16,17 @@ --key-focus: ( --border: fn.global-dim(--key-focus --border), --border-offset: fn.global-dim(--key-focus --border-offset), - --outline: fn.global-dim(--key-focus --border), + --outline: fn.global-dim(--key-focus --outline), ), ), --colors: ( --track-bg: fn.global-color(--border), - --handle-border: fn.global-color(--text-mute), + --handle-border: fn.global-color(--text-mute-more), --handle-bg: fn.global-color(--base --50), --hover: ( --label: fn.global-color(--heading), - --handle-border: fn.global-color(--text), + --handle-border: fn.global-color(--text-mute), ), --accent: ( --handle-border: fn.global-color(--accent --900), -- cgit v1.2.3-70-g09d2