From 0ff123a5b12feb73dedc2bbf5420828faa570685 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 1 Mar 2022 16:52:13 +0100 Subject: Update --- src/layouts/_form.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/layouts') diff --git a/src/layouts/_form.scss b/src/layouts/_form.scss index 8228c44..15dca2e 100644 --- a/src/layouts/_form.scss +++ b/src/layouts/_form.scss @@ -15,13 +15,17 @@ @include iro.bem-layout(iro.props-namespace()) { display: flex; flex-direction: column; - align-items: baseline; gap: fn.dim(--item-spacing-y) fn.dim(--label-spacing-x); + @include iro.bem-elem('item') { + display: block; + } + @include iro.bem-modifier('labels-left', 'labels-right') { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto; + align-items: baseline; @include iro.bem-elem('item') { display: contents; -- cgit v1.2.3-70-g09d2