diff options
author | Volpeon <git@volpeon.ink> | 2022-03-09 08:10:07 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-03-09 08:10:07 +0100 |
commit | ba9d7211ef338696df1efbd3510c055dfa77b295 (patch) | |
tree | f48c48bf0a9d17d7b22d2ba6a58138604b9bd245 /tpl | |
parent | Improved dialog (diff) | |
download | iro-design-ba9d7211ef338696df1efbd3510c055dfa77b295.tar.gz iro-design-ba9d7211ef338696df1efbd3510c055dfa77b295.tar.bz2 iro-design-ba9d7211ef338696df1efbd3510c055dfa77b295.zip |
Independent pad-y for dialog sidebar
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/index.pug | 5 | ||||
-rw-r--r-- | tpl/objects/dialog.pug | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tpl/index.pug b/tpl/index.pug index 98aec2e..f682c26 100644 --- a/tpl/index.pug +++ b/tpl/index.pug | |||
@@ -552,8 +552,9 @@ html | |||
552 | +slot('sidebar') | 552 | +slot('sidebar') |
553 | +menu(style={ 'min-width': '10em' }) | 553 | +menu(style={ 'min-width': '10em' }) |
554 | +menu-header= '#channel' | 554 | +menu-header= '#channel' |
555 | +menu-item(icon='bookmark', selected=true)= 'Bookmark' | 555 | +menu-item(icon='bookmark')= 'Bookmark' |
556 | +menu-item(icon='tags')= 'Tags' | 556 | +menu-item(icon='tags', selected=true)= 'Tags' |
557 | +menu-item(icon='hash')= 'achannel' | ||
557 | +slot('body') | 558 | +slot('body') |
558 | p.u-mt-0= loremIpsum | 559 | p.u-mt-0= loremIpsum |
559 | 560 | ||
diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug index 3a47b2f..12726a3 100644 --- a/tpl/objects/dialog.pug +++ b/tpl/objects/dialog.pug | |||
@@ -32,8 +32,8 @@ mixin dialog(title) | |||
32 | header.o-dialog__header | 32 | header.o-dialog__header |
33 | +div-heading('lg')(class='o-dialog__title') | 33 | +div-heading('lg')(class='o-dialog__title') |
34 | = title | 34 | = title |
35 | +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn') | ||
35 | section(class=bodyClass) | 36 | section(class=bodyClass) |
36 | +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn') | ||
37 | if slots.body | 37 | if slots.body |
38 | - slots.body() | 38 | - slots.body() |
39 | footer.o-dialog__footer.l-button-group | 39 | footer.o-dialog__footer.l-button-group |