diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 32bc97f6b5..d8f51592b3 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -146,15 +146,6 @@ export default { position: "right", className: "hidden lg:flex search-icon-navbar", }, - { - href: "https://discord.gg/kRZBPpkgwq", - position: "right", - className: "header-button header-button-discord", - html: ` - - - `, - }, ], }, prism: { diff --git a/src/css/custom.css b/src/css/custom.css index ac200ae94d..aad42c91f9 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -288,7 +288,7 @@ input[type="radio"]:checked::before { .navbar__items.navbar__items--right { position: absolute; - right: 0; + right: 14%; top: 50%; transform: translateY(-50%); } diff --git a/src/theme/Navbar/Content/index.tsx b/src/theme/Navbar/Content/index.tsx index ff8502dc7a..5b5145c98a 100644 --- a/src/theme/Navbar/Content/index.tsx +++ b/src/theme/Navbar/Content/index.tsx @@ -196,7 +196,6 @@ const NavbarContent = (): JSX.Element => { // Render right navbar items <> - } diff --git a/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx b/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx index 1321a394d0..b851d366b7 100644 --- a/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx +++ b/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx @@ -22,10 +22,6 @@ const NavbarMobilePrimaryMenu = (): JSX.Element => { {items.map((item, i) => ( mobileSidebar.toggle()} key={i} /> ))} -
  • - {/* Render the GithubStarsButton component */} - -
  • ) } diff --git a/src/theme/SearchBar/styles.css b/src/theme/SearchBar/styles.css index fdfd6bdf31..7b7b1c36de 100644 --- a/src/theme/SearchBar/styles.css +++ b/src/theme/SearchBar/styles.css @@ -326,9 +326,3 @@ cursor: pointer; stroke-width: 2px; } - -@media only screen and (min-width: 992px) and (max-width: 1150px) { - .DocSearch-Button-Placeholder { - display: none; - } -}