From f932673fb4f6e6444cfdb50f5df4a4ab8465a038 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 6 Feb 2022 11:24:41 +0100 Subject: Improved form --- src/objects/_text-field.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/objects') 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 @@ @include iro.bem-elem('native') { @include typography.set-font(vars.$font--main, (size: 1em, line-height: vars.$line-height)); + width: 100%; color: iro.props-get(--colors --text); resize: none; @@ -145,7 +146,8 @@ padding: 0; @include iro.bem-elem('native') { - padding: iro.props-get(--dims --padding-y) iro.props-get(--dims --padding-x); + box-sizing: border-box; + padding: iro.props-get(--dims --padding-y) iro.props-get(--dims --padding-x); } } -- cgit v1.2.3-70-g09d2