summaryrefslogtreecommitdiffstats
path: root/tpl/objects/text-field.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-03-27 11:23:45 +0200
committerVolpeon <git@volpeon.ink>2022-03-27 11:23:45 +0200
commitcac07ec50d360f3916e84bc3af6164ef07ac2f83 (patch)
tree8bd37d0c30ba176f5a2079dde171c0a80d6f86b6 /tpl/objects/text-field.pug
parentLots of updates, especially dialog (diff)
downloadiro-design-cac07ec50d360f3916e84bc3af6164ef07ac2f83.tar.gz
iro-design-cac07ec50d360f3916e84bc3af6164ef07ac2f83.tar.bz2
iro-design-cac07ec50d360f3916e84bc3af6164ef07ac2f83.zip
Update
Diffstat (limited to 'tpl/objects/text-field.pug')
-rw-r--r--tpl/objects/text-field.pug6
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/objects/text-field.pug b/tpl/objects/text-field.pug
index 673aa27..53d1362 100644
--- a/tpl/objects/text-field.pug
+++ b/tpl/objects/text-field.pug
@@ -16,7 +16,7 @@ mixin text-field
16 'is-disabled': attributes.disabled, 16 'is-disabled': attributes.disabled,
17 'l-card': !!block, 17 'l-card': !!block,
18 'l-card--flush': !!block, 18 'l-card--flush': !!block,
19 'l-card--gapless': !!block 19 'l-card--gapless': !!block,
20 } 20 }
21 if (attributes.class) { 21 if (attributes.class) {
22 classes[attributes.class] = true; 22 classes[attributes.class] = true;
@@ -30,11 +30,11 @@ mixin text-field
30 div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) 30 div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled))
31 if !!block 31 if !!block
32 if slots.pre 32 if slots.pre
33 .u-d-contents.t-raised 33 .u-d-contents.t-hi
34 - slots.pre() 34 - slots.pre()
35 input.o-text-field__native.l-card__block.l-card__block--main&attributes(attr) 35 input.o-text-field__native.l-card__block.l-card__block--main&attributes(attr)
36 if slots.post 36 if slots.post
37 .u-d-contents.t-raised 37 .u-d-contents.t-hi
38 - slots.post() 38 - slots.post()
39 .o-text-field__bg 39 .o-text-field__bg
40 else 40 else