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 incorrect style application to component #31

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

dreth
Copy link
Contributor

@dreth dreth commented Feb 14, 2024

This fixes the issues #30, #29

All I did was make the body in the document the root so that the elements inside it correctly inherit the styles from the event which later are applied in style.css to the body itself.

Used to render like this:

image

On my end, on my particular implementation of my dark theme, now renders like this:

image

@blackary
Copy link
Owner

Thank you so much -- a very elegant fix!

@blackary blackary merged commit 770283a into blackary:main Feb 14, 2024
2 checks passed
@dreth
Copy link
Contributor Author

dreth commented Feb 14, 2024

Thank you @blackary! happy to help

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