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(nav): replace * selector with concrete ones #382

Merged
merged 1 commit into from
Mar 31, 2021
Merged

Conversation

mikebarkmin
Copy link
Member

@mikebarkmin mikebarkmin commented Mar 31, 2021

Emotion renders css style tags inline. This causes an issue when using * selectors, because the css style tags are also selected. In case of the Nav component this resulted in visible css style tags on first render. This is now resolved by using concret selectors e.g.: & > a

Emotion renders css style tags inline. This causes an issue when using * selectors, because the css
style tags are also selected. In case of the Nav component this resulted in visible css style tags
on first render. This is now resolved by using concret selectors e.g.: & > a
@mikebarkmin mikebarkmin added the patch Increment the patch version when merged label Mar 31, 2021
@mikebarkmin mikebarkmin merged commit 93a1ec5 into main Mar 31, 2021
@mikebarkmin mikebarkmin deleted the nav-ssr branch March 31, 2021 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant