From 37d7253ded35773831ae026b6c09477bd40db87b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 17 Nov 2024 17:58:26 +0100 Subject: Navbar --- src/objects/_navbar.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/objects/_navbar.scss b/src/objects/_navbar.scss index 7a8f7f9..af3406a 100644 --- a/src/objects/_navbar.scss +++ b/src/objects/_navbar.scss @@ -119,6 +119,16 @@ } } + @include bem.modifier('hide-unselected') { + @include bem.elem('item') { + display: none; + + @include bem.is('selected') { + display: flex; + } + } + } + @include bem.modifier('adapt') { gap: props.get(vars.$spacing); block-size: 100%; -- cgit v1.2.3-70-g09d2