From 08f1f2a63c3ef01e28ff89ef0538654c50aded2c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 29 Oct 2023 16:16:32 +0100 Subject: Add persistent pre- and post-body area to dialog --- tpl/objects/dialog.pug | 1 + 1 file changed, 1 insertion(+) (limited to 'tpl') diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug index 55dc8ad..3ceae69 100644 --- a/tpl/objects/dialog.pug +++ b/tpl/objects/dialog.pug @@ -18,6 +18,7 @@ mixin dialog(title) let headerClass = { 'o-dialog__header': true, 'l-media': true, + 'u-bb-1': !!slots.sidebar && !(slots['sidebar-header'] || attributes.sidebarTitle), } let sidebarHeaderClass = { -- cgit v1.2.3-70-g09d2