diff --git a/docs/src/components/version-switcher.tsx b/docs/src/components/version-switcher.tsx index 56fcd4f569..5f7e1c807f 100644 --- a/docs/src/components/version-switcher.tsx +++ b/docs/src/components/version-switcher.tsx @@ -44,7 +44,7 @@ export default function VersionSwitcher(): JSX.Element { return ( versions.length > 0 && ( ({ diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index dc3ff4e9ef..fd3f199ce8 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -75,6 +75,11 @@ div[class^='announcementBar_'] { font-weight: 500; } +/* workaround for version switcher PR 15894 */ +div[class*='navbar__items'] > li:has(a[class*='version-switcher-34ab39']) { + display: none; +} + code { font-weight: 600; }