diff --git a/src/css/custom.css b/src/css/custom.css index b3b5cf131b..0f20b491da 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -104,13 +104,16 @@ x-search { visibility: hidden; } -/* Navbar logo uses ThemedComponent which sets display:none as base, - relying on [data-theme] selectors to show. This causes flicker - during navigation. Force it always visible since we use one logo. */ +/* Keep the shared light/dark logo visible during navigation, but hide the + duplicate image rendered before Docusaurus hydrates. */ .navbar__brand img { display: initial !important; } +.navbar__brand img + img { + display: none !important; +} + /* ---------------------------------------------------------------------------- Algolia DocSearch — brand colour alignment