diff options
| author | Volpeon <git@volpeon.ink> | 2023-10-15 16:34:45 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2023-10-15 16:34:45 +0200 |
| commit | 587cd130869ed17240f0447036c2b68f8a256a30 (patch) | |
| tree | 942b8c2af564a35f61a9eed65f619843889c6284 /tpl/objects | |
| parent | Update (diff) | |
| download | iro-design-587cd130869ed17240f0447036c2b68f8a256a30.tar.gz iro-design-587cd130869ed17240f0447036c2b68f8a256a30.tar.bz2 iro-design-587cd130869ed17240f0447036c2b68f8a256a30.zip | |
Update
Diffstat (limited to 'tpl/objects')
| -rw-r--r-- | tpl/objects/menu.pug | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tpl/objects/menu.pug b/tpl/objects/menu.pug index 52cbe5e..1dd38ef 100644 --- a/tpl/objects/menu.pug +++ b/tpl/objects/menu.pug | |||
| @@ -17,10 +17,11 @@ mixin menu | |||
| 17 | mixin menu-item | 17 | mixin menu-item |
| 18 | - | 18 | - |
| 19 | let classes = { | 19 | let classes = { |
| 20 | 'o-menu__item': true, | 20 | 'o-menu__item': true, |
| 21 | 'l-media': true, | 21 | 'l-media': true, |
| 22 | 'l-media--75': true, | 22 | 'l-media--75': true, |
| 23 | 'is-selected': attributes.selected, | 23 | 'o-menu__header': attributes.header, |
| 24 | 'is-selected': attributes.selected, | ||
| 24 | } | 25 | } |
| 25 | if (attributes.class) { | 26 | if (attributes.class) { |
| 26 | classes[attributes.class] = true; | 27 | classes[attributes.class] = true; |
