From 0c46d920f81702b6231d68d4e17ccf5447bc4801 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 23 Feb 2023 08:39:45 +0100 Subject: Fix --- src/_utils.scss | 6 ++++++ src/layouts/_container.scss | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/_utils.scss b/src/_utils.scss index 3c5ed8c..3e4fac3 100644 --- a/src/_utils.scss +++ b/src/_utils.scss @@ -50,6 +50,12 @@ $dirs: ( display: none; } } + + @include iro.bem-suffix('empty') { + &:empty { + display: none; + } + } } @include iro.bem-utility('ta-left') { diff --git a/src/layouts/_container.scss b/src/layouts/_container.scss index b567119..da1ff0c 100644 --- a/src/layouts/_container.scss +++ b/src/layouts/_container.scss @@ -27,6 +27,8 @@ ), 'xs'); @include iro.bem-layout(iro.props-namespace()) { + box-sizing: border-box; + @each $size in 'narrow-125' 'narrow' 'narrow-75' { @include iro.bem-modifier($size) { max-width: fn.dim(--#{$size}); -- cgit v1.2.3-54-g00ecf