diff options
author | Volpeon <git@volpeon.ink> | 2023-02-04 18:24:19 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-02-04 18:24:19 +0100 |
commit | 0f5d93474dc8e5b96b3d4184ce5e3f979934f79b (patch) | |
tree | c3e8dc09ba47650c594b1a86fa6625016b4be687 /tpl | |
parent | Improved overflow button (diff) | |
download | iro-design-0f5d93474dc8e5b96b3d4184ce5e3f979934f79b.tar.gz iro-design-0f5d93474dc8e5b96b3d4184ce5e3f979934f79b.tar.bz2 iro-design-0f5d93474dc8e5b96b3d4184ce5e3f979934f79b.zip |
Update dialog
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/objects/dialog.pug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug index ece0d67..2a2530f 100644 --- a/tpl/objects/dialog.pug +++ b/tpl/objects/dialog.pug | |||
@@ -40,7 +40,7 @@ mixin dialog(title) | |||
40 | if slots['sidebar-header'] | 40 | if slots['sidebar-header'] |
41 | - slots['sidebar-header']() | 41 | - slots['sidebar-header']() |
42 | else | 42 | else |
43 | +div-heading('xl')(class='o-dialog__title u-mt-0 l-media__block l-media__block--main')= attributes.sidebarTitle | 43 | +div-heading('xl')(class='o-dialog__title l-media__block l-media__block--main')= attributes.sidebarTitle |
44 | 44 | ||
45 | if slots.sidebar | 45 | if slots.sidebar |
46 | .o-dialog__sidebar.l-overflow | 46 | .o-dialog__sidebar.l-overflow |
@@ -51,7 +51,7 @@ mixin dialog(title) | |||
51 | - slots.header() | 51 | - slots.header() |
52 | else | 52 | else |
53 | if title | 53 | if title |
54 | +div-heading('xl')(class='o-dialog__title u-mt-0 l-media__block l-media__block--main')= title | 54 | +div-heading('xl')(class='o-dialog__title l-media__block l-media__block--main')= title |
55 | +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn l-media__block') | 55 | +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn l-media__block') |
56 | 56 | ||
57 | section(class=bodyClass) | 57 | section(class=bodyClass) |