summaryrefslogtreecommitdiffstats
path: root/tpl/objects/text-field.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-11 07:54:12 +0200
committerVolpeon <git@volpeon.ink>2022-06-11 07:54:12 +0200
commit9faf093cc16ad6ee9eafbaf253ff6c31a1f5ee7f (patch)
treeca289d02ec274170411e5899c4569c3b8904be1c /tpl/objects/text-field.pug
parentDervice code font size from 100 (diff)
downloadiro-design-9faf093cc16ad6ee9eafbaf253ff6c31a1f5ee7f.tar.gz
iro-design-9faf093cc16ad6ee9eafbaf253ff6c31a1f5ee7f.tar.bz2
iro-design-9faf093cc16ad6ee9eafbaf253ff6c31a1f5ee7f.zip
card -> media
Diffstat (limited to 'tpl/objects/text-field.pug')
-rw-r--r--tpl/objects/text-field.pug8
1 files changed, 4 insertions, 4 deletions
diff --git a/tpl/objects/text-field.pug b/tpl/objects/text-field.pug
index 53d1362..d5c4444 100644
--- a/tpl/objects/text-field.pug
+++ b/tpl/objects/text-field.pug
@@ -14,9 +14,9 @@ mixin text-field
14 'o-text-field--extended': !!block, 14 'o-text-field--extended': !!block,
15 'is-invalid': attributes.invalid, 15 'is-invalid': attributes.invalid,
16 'is-disabled': attributes.disabled, 16 'is-disabled': attributes.disabled,
17 'l-card': !!block, 17 'l-media': !!block,
18 'l-card--flush': !!block, 18 'l-media--flush': !!block,
19 'l-card--gapless': !!block, 19 'l-media--gapless': !!block,
20 } 20 }
21 if (attributes.class) { 21 if (attributes.class) {
22 classes[attributes.class] = true; 22 classes[attributes.class] = true;
@@ -32,7 +32,7 @@ mixin text-field
32 if slots.pre 32 if slots.pre
33 .u-d-contents.t-hi 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-media__block.l-media__block--main&attributes(attr)
36 if slots.post 36 if slots.post
37 .u-d-contents.t-hi 37 .u-d-contents.t-hi
38 - slots.post() 38 - slots.post()