From 67627d758763a58379e158d3feff7d222d3e8adc Mon Sep 17 00:00:00 2001 From: Wesley Schwengle Date: Wed, 10 Jun 2020 19:20:35 -0400 Subject: [PATCH] Remove max-width for textarea media < 768px (#6014) Co-authored-by: Tim Lai --- src/style/_form.scss | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/style/_form.scss b/src/style/_form.scss index 939f4d40..47c6a39f 100644 --- a/src/style/_form.scss +++ b/src/style/_form.scss @@ -46,6 +46,17 @@ label @include text_headline(); } +input[type=text], +input[type=password], +input[type=search], +input[type=email], +input[type=file] +{ + @media (max-width: 768px) { + max-width: 175px; + } +} + input[type=text], input[type=password], @@ -61,9 +72,6 @@ textarea border: 1px solid $form-input-border-color; border-radius: 4px; background: $form-input-background-color; - @media (max-width: 768px) { - max-width: 175px; - } &.invalid