Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase input font size to avoid zoom on iOS #1473

Merged
merged 2 commits into from
Sep 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ way to update this template, but currently, we follow a pattern:

## Upcoming version 2021-XX-XX

- [change] Increase input font size on mobile to avoid Mobile Safari zooming in when focusing on
inputs. [#1473](https://github.com/sharetribe/ftw-daily/pull/1473)
- [change] Update browserlist data to match modern browsers.
[#1468](https://github.com/sharetribe/ftw-daily/pull/1468)
- [fix] Font-size was too big for Stripe Elements on small screens on PaymentMethodsForm.
Expand Down
16 changes: 14 additions & 2 deletions src/styles/marketplaceDefaults.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,24 @@ h6 {
@apply --marketplaceH6FontStyles;
}

input,
input {
font-family: var(--fontFamily);
font-weight: var(--fontWeightMedium);
font-size: 16px;
line-height: 24px;
letter-spacing: -0.1px;
/* No margins for default font */

@media (--viewportMedium) {
font-size: 16px;
line-height: 32px;
}
}

textarea,
select,
li {
@apply --marketplaceDefaultFontStyles;
line-height: 24px;
}

p,
Expand Down