diff options
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 |