Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -304,14 +304,17 @@ pre, code, .codeBlockLines_node_modules-\@docusaurus-theme-classic-lib-theme-Cod

/**
* Prevent redocusaurus from displaying html before its styles are fully
* loaded. This prevents large icons from being displayed before they
* properly styled.
* loaded. This prevents large icons from being displayed before they
* properly styled.
* Docusaurus sets data-has-hydrated="true" on <html> once client-side
* hydration completes (the body[data-rh] attribute this hack previously
* relied on stopped being emitted as of Docusaurus 3.10).
*/
.redocusaurus {
display: none;
}

body[data-rh] .redocusaurus {
html[data-has-hydrated='true'] .redocusaurus {
display: block;
}

Expand Down
Loading