summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-02-12 08:02:14 +0100
committerVolpeon <git@volpeon.ink>2022-02-12 08:02:14 +0100
commit2c48ef85de28539fd088b9114a6ca28351f593af (patch)
treedad8db9bba272139aa52b6e2f39d75cbfa1ae2e9 /tpl/objects
parentUpdate (diff)
downloadiro-design-2c48ef85de28539fd088b9114a6ca28351f593af.tar.gz
iro-design-2c48ef85de28539fd088b9114a6ca28351f593af.tar.bz2
iro-design-2c48ef85de28539fd088b9114a6ca28351f593af.zip
Made dialog scrollable
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/backdrop.pug2
-rw-r--r--tpl/objects/dialog.pug2
-rw-r--r--tpl/objects/rule.pug2
3 files changed, 3 insertions, 3 deletions
diff --git a/tpl/objects/backdrop.pug b/tpl/objects/backdrop.pug
index 6ad72d7..3e3eb7f 100644
--- a/tpl/objects/backdrop.pug
+++ b/tpl/objects/backdrop.pug
@@ -1,3 +1,3 @@
1mixin backdrop 1mixin backdrop
2 .o-backdrop.u-ps(style={ width: '100%', 'min-height': '5em' }) 2 .o-backdrop.u-ps(style={ width: '100%', 'min-height': '5em', 'max-height': '40em' })
3 block 3 block
diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug
index 3cbe95e..7e3e2d6 100644
--- a/tpl/objects/dialog.pug
+++ b/tpl/objects/dialog.pug
@@ -7,7 +7,7 @@ mixin dialog(title)
7 header.o-dialog__header 7 header.o-dialog__header
8 +div-heading('lg')(class='o-dialog__title') 8 +div-heading('lg')(class='o-dialog__title')
9 = title 9 = title
10 +rule('medium') 10 +rule('medium')(class='o-dialog__rule')
11 section.o-dialog__body 11 section.o-dialog__body
12 block 12 block
13 footer.o-dialog__footer.l-button-group 13 footer.o-dialog__footer.l-button-group
diff --git a/tpl/objects/rule.pug b/tpl/objects/rule.pug
index 63a039f..b2f3a38 100644
--- a/tpl/objects/rule.pug
+++ b/tpl/objects/rule.pug
@@ -6,7 +6,7 @@ mixin rule(level)
6 ['o-rule--' + level]: true 6 ['o-rule--' + level]: true
7 } 7 }
8 8
9 div(class=classes) 9 div(class=classes)&attributes(attributes)
10 if block 10 if block
11 .o-rule__label 11 .o-rule__label
12 block 12 block