summaryrefslogtreecommitdiffstats
path: root/src/objects/_text-field.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/_text-field.scss')
-rw-r--r--src/objects/_text-field.scss16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/objects/_text-field.scss b/src/objects/_text-field.scss
index 4f1fd1b..ad03ec5 100644
--- a/src/objects/_text-field.scss
+++ b/src/objects/_text-field.scss
@@ -114,13 +114,15 @@
114 } 114 }
115 115
116 @include iro.bem-elem('native') { 116 @include iro.bem-elem('native') {
117 box-sizing: border-box; 117 box-sizing: border-box;
118 width: 100%; 118 width: 100%;
119 padding: calc(fn.dim(--pad-y) - .5em * ($line-height - 1)) fn.dim(--pad-x); 119 padding: calc(fn.dim(--pad-y) - .5em * ($line-height - 1)) fn.dim(--pad-x);
120 border: 1px solid transparent; 120 border: 1px solid transparent;
121 color: fn.color(--text); 121 background-color: transparent;
122 line-height: $line-height; 122 color: fn.color(--text);
123 resize: none; 123 line-height: $line-height;
124 resize: none;
125 appearance: none;
124 126
125 &::placeholder { 127 &::placeholder {
126 opacity: 1; 128 opacity: 1;