Skip to content

Commit

Permalink
Remove max-width for textarea media < 768px (swagger-api#6014)
Browse files Browse the repository at this point in the history

Co-authored-by: Tim Lai <[email protected]>
  • Loading branch information
2 people authored and mattyb678 committed Jun 24, 2020
1 parent ca1e417 commit c75e4d4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/style/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -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
Expand Down

0 comments on commit c75e4d4

Please sign in to comment.