From d72fbeb48496084143acfa798b10a9edd84181c6 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 16 Oct 2023 07:14:40 +0200 Subject: Updated dialog --- tpl/objects/dialog.pug | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tpl/objects') 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) let headerClass = { 'o-dialog__header': true, - 'u-themed': !attributes.flat, - 't-down': !attributes.flat, - 'l-media': true, + 'l-media': true, } let sidebarHeaderClass = { + 'o-dialog__header': true, 'o-dialog__header--sidebar': true, + 'u-themed': true, + 't-lo': true, + 'l-media': true, } - Object.assign(sidebarHeaderClass, headerClass); - let bodyClass = { 'o-dialog__body': true } @@ -44,7 +44,7 @@ mixin dialog(title) +div-heading('xl')(class='o-dialog__title l-media__block l-media__block--main')= attributes.sidebarTitle if slots.sidebar - .o-dialog__sidebar.l-overflow + .o-dialog__sidebar.l-overflow.u-themed.t-lo - slots.sidebar() div(class=headerClass) -- cgit v1.2.3-70-g09d2