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

Font fixes #12948

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Font fixes #12948

merged 1 commit into from
Aug 21, 2024

Conversation

kflynn
Copy link
Member

@kflynn kflynn commented Aug 8, 2024

Instead of loading Roboto from CSS (which, apparently, WAFs complain about), load it as a stylesheet in (which, apparently, WAFs don't complain about -- we were loading Lato that way before).

Also yank Lato and Montserrat since they were kind of pointless. Thanks to @travisbeckham for the suggestion here!

(I tested this with bin/web dev, then loading the Viz dashboard in Safari so I could use the inspector to see what font was getting rendered for the text elements, to make sure that Roboto really does get loaded and used after this change.)

Fixes #8179 (hopefully).

Signed-off-by: Flynn [email protected]

… <HEAD> like we were with Lato, because apparently WAFs don't complain about that?

Also yank Lato and Montserrat since they were kind of pointless.

Fixes #8179 (hopefully).

Signed-off-by: Flynn <[email protected]>
@kflynn kflynn requested a review from a team as a code owner August 8, 2024 19:34
Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

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

I'm not enough frontend-savvy to understand the change, but it tests fine for me! 👍

@kflynn kflynn requested a review from travisbeckham August 8, 2024 22:03
Copy link

@travisbeckham travisbeckham left a comment

Choose a reason for hiding this comment

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

Looks good!

@alpeb alpeb merged commit 9afa410 into main Aug 21, 2024
21 checks passed
@alpeb alpeb deleted the flynn/dev/viz-fonts branch August 21, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Content-Security-Policy header violation reports
3 participants