diff options
author | Volpeon <git@volpeon.ink> | 2022-02-06 11:24:41 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-06 11:24:41 +0100 |
commit | f932673fb4f6e6444cfdb50f5df4a4ab8465a038 (patch) | |
tree | 75052efa371dacce844180e43dc929602b571d6d /src/objects | |
parent | Added form (diff) | |
download | iro-design-f932673fb4f6e6444cfdb50f5df4a4ab8465a038.tar.gz iro-design-f932673fb4f6e6444cfdb50f5df4a4ab8465a038.tar.bz2 iro-design-f932673fb4f6e6444cfdb50f5df4a4ab8465a038.zip |
Improved form
Diffstat (limited to 'src/objects')
-rw-r--r-- | src/objects/_text-field.scss | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/objects/_text-field.scss b/src/objects/_text-field.scss index 4201f00..2ea2739 100644 --- a/src/objects/_text-field.scss +++ b/src/objects/_text-field.scss | |||
@@ -78,6 +78,7 @@ | |||
78 | @include iro.bem-elem('native') { | 78 | @include iro.bem-elem('native') { |
79 | @include typography.set-font(vars.$font--main, (size: 1em, line-height: vars.$line-height)); | 79 | @include typography.set-font(vars.$font--main, (size: 1em, line-height: vars.$line-height)); |
80 | 80 | ||
81 | width: 100%; | ||
81 | color: iro.props-get(--colors --text); | 82 | color: iro.props-get(--colors --text); |
82 | resize: none; | 83 | resize: none; |
83 | 84 | ||
@@ -145,7 +146,8 @@ | |||
145 | padding: 0; | 146 | padding: 0; |
146 | 147 | ||
147 | @include iro.bem-elem('native') { | 148 | @include iro.bem-elem('native') { |
148 | padding: iro.props-get(--dims --padding-y) iro.props-get(--dims --padding-x); | 149 | box-sizing: border-box; |
150 | padding: iro.props-get(--dims --padding-y) iro.props-get(--dims --padding-x); | ||
149 | } | 151 | } |
150 | } | 152 | } |
151 | 153 | ||