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

Fix language picker font not being used #2802

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

Nateowami
Copy link
Collaborator

@Nateowami Nateowami commented Oct 14, 2024

The font picker was not actually being used because Material has a rule that directly applied to .mat-mdc-menu-item-text, and our rule only applied it to .mat-mdc-menu-item (the parent element).

You can tell what font is being used by going to the "computed" tab of the element inspector and scrolling to the bottom. You can also look at the network tab and filter for fonts, and see that the language picker font wasn't even being loaded.

I also removed (W. Kayah Li) because the text was originally added in #594 for font reasons.

Please note that not all locale names are being rendered with the language picker font, because we haven't been updating the language picker font. However, it does have the Western Kayah Li font, so I feel comfortable removing the English.


This change is Reviewable

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.02%. Comparing base (66d437d) to head (6fc3384).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2802   +/-   ##
=======================================
  Coverage   79.02%   79.02%           
=======================================
  Files         530      530           
  Lines       30719    30719           
  Branches     5022     5017    -5     
=======================================
  Hits        24275    24275           
  Misses       5661     5661           
  Partials      783      783           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pmachapman pmachapman self-requested a review October 14, 2024 20:00
@pmachapman pmachapman self-assigned this Oct 14, 2024
Copy link
Collaborator

@pmachapman pmachapman left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Nateowami)

@pmachapman pmachapman merged commit 95d3153 into master Oct 14, 2024
15 checks passed
@pmachapman pmachapman deleted the fix/use-font-picker-font branch October 14, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants