From 732c2bce047de5105e84ca61bebcf05de564917f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 7 Feb 2022 18:47:29 +0100 Subject: Improved action menu example --- src/layouts/_card.scss | 4 ++-- src/objects/_action-menu.scss | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/layouts/_card.scss b/src/layouts/_card.scss index a2d201f..ce742bf 100644 --- a/src/layouts/_card.scss +++ b/src/layouts/_card.scss @@ -34,8 +34,8 @@ flex: 0 0 auto; @include iro.bem-modifier('main') { - width: 100%; - min-width: 0; + flex-shrink: 1; + width: 100%; } } } diff --git a/src/objects/_action-menu.scss b/src/objects/_action-menu.scss index 35d23b8..69fb9b0 100644 --- a/src/objects/_action-menu.scss +++ b/src/objects/_action-menu.scss @@ -77,6 +77,10 @@ &:active { background-color: fn.color(--item --hover --bg); color: fn.color(--item --hover --fg); + + @include iro.bem-elem('icon') { + color: currentColor; + } } } } -- cgit v1.2.3-70-g09d2