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: avoid leaking h2 styles globally #742

Merged
merged 1 commit into from
Jan 18, 2025
Merged

Conversation

erickzhao
Copy link
Member

Some styles from #676 were leaking because Docusaurus exports a single giant CSS file for consumption (ref facebook/docusaurus#6228).

By querying h2 directly, this rule was applying to every h2 tag that didn't have any higher specificity rule attached to it.

@erickzhao erickzhao requested a review from a team as a code owner January 18, 2025 00:17
@dsanders11
Copy link
Member

Not sure why the Cloudflare preview didn't show up for this PR, but LGTM so I'm gonna YOLO it.

@dsanders11 dsanders11 merged commit dc10414 into main Jan 18, 2025
5 checks passed
@dsanders11 dsanders11 deleted the remove-global-style branch January 18, 2025 02:00
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.

2 participants