From 0ff123a5b12feb73dedc2bbf5420828faa570685 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 1 Mar 2022 16:52:13 +0100 Subject: Update --- src/objects/_field-label.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/objects/_field-label.scss') diff --git a/src/objects/_field-label.scss b/src/objects/_field-label.scss index e990568..4195e11 100644 --- a/src/objects/_field-label.scss +++ b/src/objects/_field-label.scss @@ -21,10 +21,11 @@ ), 'colors'); @include iro.bem-object(iro.props-namespace()) { - display: inline-block; + display: block; @include iro.bem-elem('label') { display: block; + flex: 0 0 auto; padding-right: fn.dim(--spacing-x); color: fn.color(--label); font-size: fn.dim(--label-font-size); @@ -37,7 +38,8 @@ } @include iro.bem-elem('content') { - display: inline-block; + display: block; + width: 100%; } @include iro.bem-elem('hint') { @@ -60,7 +62,7 @@ } @include iro.bem-modifier('left', 'right') { - display: inline-flex; + display: flex; align-items: baseline; @include iro.bem-elem('label') { -- cgit v1.2.3-70-g09d2