diff options
author | Volpeon <git@volpeon.ink> | 2023-01-20 16:48:54 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-01-20 16:48:54 +0100 |
commit | b34545ce5a694a0042f2d1dfbbfad7bfee713c2d (patch) | |
tree | d0f58f4115dc19e2e02d1e7363c3feb45418a4d1 /tpl/objects/dialog.pug | |
parent | Improved heading structure (diff) | |
download | iro-design-b34545ce5a694a0042f2d1dfbbfad7bfee713c2d.tar.gz iro-design-b34545ce5a694a0042f2d1dfbbfad7bfee713c2d.tar.bz2 iro-design-b34545ce5a694a0042f2d1dfbbfad7bfee713c2d.zip |
Fixed flaws
Diffstat (limited to 'tpl/objects/dialog.pug')
-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 95aa41c..ece0d67 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('sm')(class='o-dialog__title l-media__block l-media__block--main')= attributes.sidebarTitle | 43 | +div-heading('xl')(class='o-dialog__title u-mt-0 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('sm')(class='o-dialog__title l-media__block l-media__block--main')= title | 54 | +div-heading('xl')(class='o-dialog__title u-mt-0 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) |