From b34545ce5a694a0042f2d1dfbbfad7bfee713c2d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 20 Jan 2023 16:48:54 +0100 Subject: Fixed flaws --- tpl/views/dialog.pug | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tpl/views/dialog.pug') diff --git a/tpl/views/dialog.pug b/tpl/views/dialog.pug index 9d6061d..6ef06df 100644 --- a/tpl/views/dialog.pug +++ b/tpl/views/dialog.pug @@ -1,13 +1,13 @@ mixin view-dialog +view('dialog', 'Dialog') .c-box - +backdrop + +backdrop(pad=true) +dialog('Lorem ipsum')(flat=true) +slot('body') = loremIpsum .c-box - +backdrop + +backdrop(pad=true) +dialog('Lorem ipsum')(bodyClass='l-overflow') +slot('body') p.u-mt-0= loremIpsum @@ -17,7 +17,7 @@ mixin view-dialog p= loremIpsum .c-box - +backdrop + +backdrop(pad=true) +dialog('Tags')(sidebarTitle='#channel') +slot('sidebar') +menu(style={ 'min-width': '10em' }) @@ -28,7 +28,7 @@ mixin view-dialog p.u-mt-0= loremIpsum .c-box - +backdrop + +backdrop(pad=true) +dialog('#channel') +slot('sidebar') +menu(style={ 'min-width': '10em' }) @@ -39,14 +39,14 @@ mixin view-dialog p.u-mt-0= loremIpsum .c-box - +backdrop + +backdrop(pad=true) +dialog +slot('header') .l-media__block.l-flex +action-button(quiet=true icon='chevron-left') +action-button(quiet=true icon='chevron-right') .l-media__block.l-media__block--main - +div-heading('sm')= 'Tags' + +div-heading('xl')(class="u-mt-0")= 'Tags' +slot('sidebar') +menu(style={ 'min-width': '10em' }) +menu-item(icon='bookmark')= 'Bookmark' -- cgit v1.2.3-70-g09d2