Fix language picker font not being used #2802
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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