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: Code highlight is broken on initial load #339

Closed
atinux opened this issue May 26, 2021 — with Volta.net · 2 comments · Fixed by #355
Closed

fix: Code highlight is broken on initial load #339

atinux opened this issue May 26, 2021 — with Volta.net · 2 comments · Fixed by #355
Labels
bug Something isn't working

Comments

Copy link
Contributor

atinux commented May 26, 2021

See https://docus.com/get-started/configuration

Screenshot 2021-05-26 at 20.58.31.png

On client-side navigation it's fine.

@atinux atinux added the bug Something isn't working label May 26, 2021 — with Volta.net
Copy link
Collaborator

Seems that on the first load Docus custom CSS variables injects before vendor styles and due to CSS priority, variables does no apply.

This issue exists only on light mode, because priority of its selector (:root)

Copy link
Contributor Author

atinux commented May 27, 2021

Damn, any workaround we can have @farnabaz ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants