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

Headline component looks like SiteHeadline under certain conditions #208

Open
SudevKiyadaTR opened this issue Jan 29, 2025 · 0 comments
Open

Comments

@SudevKiyadaTR
Copy link

SudevKiyadaTR commented Jan 29, 2025

I was trying to build a custom component and upon previewing it, realised the Headline component looks different than what local was showing. Headline component on preview looked like SiteHeadline. Upon inspecting I can see the <h1> having text-3xl but CSS for it shows font-size: var(--theme-font-size-5xl);

Couple of code isolation tests showed this happens only when using svelte's fade transitions. Further, the bug doesn't happen if there are any more instances of Headline component in page.

How to reproduce?
Attaching the custom component in question

Test.svelte.zip

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

No branches or pull requests

1 participant