From 08466080a960cd9944d559c481085a23dabffbf0 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 4 Feb 2023 21:30:26 +0100 Subject: Scrollable dialog improvements --- tpl/views/dialog.pug | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tpl/views') diff --git a/tpl/views/dialog.pug b/tpl/views/dialog.pug index 6ef06df..5a659dd 100644 --- a/tpl/views/dialog.pug +++ b/tpl/views/dialog.pug @@ -8,7 +8,17 @@ mixin view-dialog .c-box +backdrop(pad=true) - +dialog('Lorem ipsum')(bodyClass='l-overflow') + +dialog('Lorem ipsum') + +slot('body') + p.u-mt-0= loremIpsum + p= loremIpsum + p= loremIpsum + p= loremIpsum + p= loremIpsum + + .c-box + +backdrop(pad=true) + +dialog('Lorem ipsum')(scrollable=true) +slot('body') p.u-mt-0= loremIpsum p= loremIpsum -- cgit v1.2.3-70-g09d2