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 /tpl/objects | |
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 'tpl/objects')
-rw-r--r-- | tpl/objects/action-menu.pug | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tpl/objects/action-menu.pug b/tpl/objects/action-menu.pug index 85f93bf..6ab4e0d 100644 --- a/tpl/objects/action-menu.pug +++ b/tpl/objects/action-menu.pug | |||
@@ -17,9 +17,12 @@ mixin action-menu-item | |||
17 | .l-card.l-card--flush | 17 | .l-card.l-card--flush |
18 | .l-card__block.o-action-menu__icon-slot | 18 | .l-card__block.o-action-menu__icon-slot |
19 | if attributes.icon | 19 | if attributes.icon |
20 | +icon(attributes.icon) | 20 | +icon(attributes.icon)(class='o-action-menu__icon') |
21 | .l-card__block.l-card__block--main | 21 | .l-card__block.l-card__block--main |
22 | block | 22 | block |
23 | .l-card__block.o-action-menu__icon-slot | ||
24 | if attributes.postIcon | ||
25 | +icon(attributes.postIcon)(class='o-action-menu__icon') | ||
23 | 26 | ||
24 | mixin action-menu-separator | 27 | mixin action-menu-separator |
25 | .o-action-menu__separator | 28 | .o-action-menu__separator |