Skip to content

Commit 67627d7

Browse files
waterkiptim-lai
andauthoredJun 10, 2020
Remove max-width for textarea media < 768px (#6014)
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
1 parent 117dcc9 commit 67627d7

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed
 

‎src/style/_form.scss

+11-3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ label
4646
@include text_headline();
4747
}
4848

49+
input[type=text],
50+
input[type=password],
51+
input[type=search],
52+
input[type=email],
53+
input[type=file]
54+
{
55+
@media (max-width: 768px) {
56+
max-width: 175px;
57+
}
58+
}
59+
4960

5061
input[type=text],
5162
input[type=password],
@@ -61,9 +72,6 @@ textarea
6172
border: 1px solid $form-input-border-color;
6273
border-radius: 4px;
6374
background: $form-input-background-color;
64-
@media (max-width: 768px) {
65-
max-width: 175px;
66-
}
6775

6876

6977
&.invalid

0 commit comments

Comments
 (0)
Please sign in to comment.