diff options
author | Volpeon <git@volpeon.ink> | 2022-03-27 11:23:45 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-03-27 11:23:45 +0200 |
commit | cac07ec50d360f3916e84bc3af6164ef07ac2f83 (patch) | |
tree | 8bd37d0c30ba176f5a2079dde171c0a80d6f86b6 /tpl/objects/text-field.pug | |
parent | Lots of updates, especially dialog (diff) | |
download | iro-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.pug | 6 |
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 |