From 17e76bb06361f43e0458388705491210dcf0d26c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 17 Jun 2022 18:13:26 +0200 Subject: Add no-js display utility --- src/_utils.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') diff --git a/src/_utils.scss b/src/_utils.scss index 50c67e1..dadd1bd 100644 --- a/src/_utils.scss +++ b/src/_utils.scss @@ -12,6 +12,12 @@ $dirs: ( @include iro.bem-utility('d-block') { display: block; + + @include iro.bem-at-theme('no-js') { + @include iro.bem-suffix('no-js') { + display: none; + } + } } @include iro.bem-utility('d-inline-block') { @@ -38,6 +44,12 @@ $dirs: ( } } } + + @include iro.bem-at-theme('no-js') { + @include iro.bem-suffix('no-js') { + display: none; + } + } } @include iro.bem-utility('ta-left') { -- cgit v1.2.3-70-g09d2