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

css-library: Fixing the html element's font-size so it will respect browser settings #1444

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Andrew565
Copy link
Contributor

@Andrew565 Andrew565 commented Dec 24, 2024

Chromatic

https://3646-fix-browser-font-sizing--65a6e2ed2314f7b8f98609d8.chromatic.com


Description

Closes #3646

QA Checklist

N/A

Screenshots

N/A

Acceptance criteria

  • QA checklist has been completed
  • Screenshots have been attached that cover desktop and mobile screens

Definition of done

  • Documentation has been updated, if applicable
  • A link has been provided to the originating GitHub issue (or connected to it via ZenHub)

@Andrew565 Andrew565 added patch Patch change in semantic versioning css-library labels Dec 24, 2024
@Andrew565 Andrew565 self-assigned this Dec 24, 2024
@Andrew565 Andrew565 requested a review from a team as a code owner December 24, 2024 00:11
@@ -11,7 +11,7 @@ body {
}

html {
font-size: $em-base;
font-size: 100%; // Needs to be 100% to be able to grow and shrink with browser settings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was changed to 16px because of root font size updates related to USWDS v3 (it previously being 10px). Was this tested using Verdaccio to make sure everything still looks correct by default?

Screenshot 2024-12-26 at 8 59 08 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-library patch Patch change in semantic versioning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VA.gov doesn't respect Chrome browser font resizing anymore
3 participants