diff options
author | Volpeon <git@volpeon.ink> | 2022-02-07 18:47:29 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-07 18:47:29 +0100 |
commit | 732c2bce047de5105e84ca61bebcf05de564917f (patch) | |
tree | 5b68bcd21d08340120bcce9dbf0252b5a6620020 /src | |
parent | Added action-menu (diff) | |
download | iro-design-732c2bce047de5105e84ca61bebcf05de564917f.tar.gz iro-design-732c2bce047de5105e84ca61bebcf05de564917f.tar.bz2 iro-design-732c2bce047de5105e84ca61bebcf05de564917f.zip |
Improved action menu example
Diffstat (limited to 'src')
-rw-r--r-- | src/layouts/_card.scss | 4 | ||||
-rw-r--r-- | src/objects/_action-menu.scss | 4 |
2 files changed, 6 insertions, 2 deletions
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 @@ | |||
34 | flex: 0 0 auto; | 34 | flex: 0 0 auto; |
35 | 35 | ||
36 | @include iro.bem-modifier('main') { | 36 | @include iro.bem-modifier('main') { |
37 | width: 100%; | 37 | flex-shrink: 1; |
38 | min-width: 0; | 38 | width: 100%; |
39 | } | 39 | } |
40 | } | 40 | } |
41 | } | 41 | } |
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 @@ | |||
77 | &:active { | 77 | &:active { |
78 | background-color: fn.color(--item --hover --bg); | 78 | background-color: fn.color(--item --hover --bg); |
79 | color: fn.color(--item --hover --fg); | 79 | color: fn.color(--item --hover --fg); |
80 | |||
81 | @include iro.bem-elem('icon') { | ||
82 | color: currentColor; | ||
83 | } | ||
80 | } | 84 | } |
81 | } | 85 | } |
82 | } | 86 | } |