diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/dialog.pug | 2 | ||||
-rw-r--r-- | tpl/objects/menu.pug | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug index 12726a3..2823e41 100644 --- a/tpl/objects/dialog.pug +++ b/tpl/objects/dialog.pug | |||
@@ -30,7 +30,7 @@ mixin dialog(title) | |||
30 | .o-dialog__sidebar | 30 | .o-dialog__sidebar |
31 | - slots.sidebar() | 31 | - slots.sidebar() |
32 | header.o-dialog__header | 32 | header.o-dialog__header |
33 | +div-heading('lg')(class='o-dialog__title') | 33 | +div-heading('md')(class='o-dialog__title') |
34 | = title | 34 | = title |
35 | +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn') | 35 | +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn') |
36 | section(class=bodyClass) | 36 | section(class=bodyClass) |
diff --git a/tpl/objects/menu.pug b/tpl/objects/menu.pug index 84321d7..c6e8223 100644 --- a/tpl/objects/menu.pug +++ b/tpl/objects/menu.pug | |||
@@ -18,7 +18,7 @@ mixin menu-item | |||
18 | 'is-selected': attributes.selected, | 18 | 'is-selected': attributes.selected, |
19 | } | 19 | } |
20 | 20 | ||
21 | button(class=classes, disabled=attributes.disabled) | 21 | #{!!attributes.tag ? attributes.tag : 'button'}(class=classes)&attributes(attributes) |
22 | .l-card.l-card--flush.l-card--75 | 22 | .l-card.l-card--flush.l-card--75 |
23 | if attributes.icon | 23 | if attributes.icon |
24 | .l-card__block.o-menu__icon-slot | 24 | .l-card__block.o-menu__icon-slot |