summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/dialog.pug12
1 files changed, 6 insertions, 6 deletions
diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug
index 7ac9c3d..55dc8ad 100644
--- a/tpl/objects/dialog.pug
+++ b/tpl/objects/dialog.pug
@@ -17,17 +17,17 @@ mixin dialog(title)
17 17
18 let headerClass = { 18 let headerClass = {
19 'o-dialog__header': true, 19 'o-dialog__header': true,
20 'u-themed': !attributes.flat, 20 'l-media': true,
21 't-down': !attributes.flat,
22 'l-media': true,
23 } 21 }
24 22
25 let sidebarHeaderClass = { 23 let sidebarHeaderClass = {
24 'o-dialog__header': true,
26 'o-dialog__header--sidebar': true, 25 'o-dialog__header--sidebar': true,
26 'u-themed': true,
27 't-lo': true,
28 'l-media': true,
27 } 29 }
28 30
29 Object.assign(sidebarHeaderClass, headerClass);
30
31 let bodyClass = { 31 let bodyClass = {
32 'o-dialog__body': true 32 'o-dialog__body': true
33 } 33 }
@@ -44,7 +44,7 @@ mixin dialog(title)
44 +div-heading('xl')(class='o-dialog__title l-media__block l-media__block--main')= attributes.sidebarTitle 44 +div-heading('xl')(class='o-dialog__title l-media__block l-media__block--main')= attributes.sidebarTitle
45 45
46 if slots.sidebar 46 if slots.sidebar
47 .o-dialog__sidebar.l-overflow 47 .o-dialog__sidebar.l-overflow.u-themed.t-lo
48 - slots.sidebar() 48 - slots.sidebar()
49 49
50 div(class=headerClass) 50 div(class=headerClass)