Starter Page Templates: large iFrame preview is not rendering Google fonts #49742
Labels
[Closed] Fixed
Issues explicitly fixed with PRs. Do not use for no longer reproducible issues.
Page Layouts
[Status] Fix Inbound
Use when a fix is in unreleased component
[Type] Bug
Steps to reproduce the behavior
What I expected to happen
The preview to render with the theme's Google font
What actually happened
The fallback system font is used instead
Screenshots
This is how my test site looks using Balasana as the selected theme:
I expect it to look something like:
This screenshot is rendered with PR #49101 applied
Context
I can see that the
<link>
element that should be loading the Google fonts is being correctly added to the iframe preview in this line, however I'm unsure why the fonts aren't then being loaded in the iframe context. I haven't been able to find anything that changed recently in the SPT picker that would've affected this. Could the recent GB upgrade have involved anything that could be related?Browser / OS version
Tested on Chrome 88 and Firefox 95 on macOS
Is this specific to the applied theme? Which one?
This appears to affect the preview with any theme that uses an external / Google font. Good themes to test this with include Balasana and Dalston.
Level of impact (Does it block purchases? Does it affect more than just one site?)
It appears to affect the preview for any site using a theme that uses Google fonts.
CC: @simison it looks like this issue is resolved by removing the iframe in #49101 (but that doesn't explain why this issue has appeared just now)
The text was updated successfully, but these errors were encountered: