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

Mobile forms: Entering a text field zooms the page on iPhone. #703

Open
alan-cole opened this issue Jun 19, 2020 · 1 comment
Open

Mobile forms: Entering a text field zooms the page on iPhone. #703

alan-cole opened this issue Jun 19, 2020 · 1 comment

Comments

@alan-cole
Copy link
Collaborator

As per below:
zoom-on-text-fields

Default font-size for text fields in a form is 14px. If this is changed to 16px then the site won't zoom on form element focus.

This could be done by changing:

$rpl-form-text-ruleset: ('xs', 1.3em, 'regular') !default;
$rpl-form-element-text-ruleset: ('xs', 1em, 'regular');

to

$rpl-form-text-ruleset: ('s', 1.3em, 'regular') !default;
$rpl-form-element-text-ruleset: ('s', 1em, 'regular');
@dylankelly
Copy link
Contributor

Hi @alan-cole - thanks I've raised an internal ticket SDPA-5285. I agree with the change. Just checking with Design if there are any concerns with changing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants