From 4eb4693a979e438a19f72f1c93a88233a991a70d Mon Sep 17 00:00:00 2001 From: Shreesh Nautiyal <114166000+Shreesh09@users.noreply.github.com> Date: Thu, 16 Nov 2023 03:59:12 +0530 Subject: [PATCH] fix(theme-classic): fixed wrong cursor on dropdown menu in navbar, when window is small (#9398) --- .../index.tsx} | 2 ++ .../NavbarItem/DropdownNavbarItem/styles.module.css | 10 ++++++++++ 2 files changed, 12 insertions(+) rename packages/docusaurus-theme-classic/src/theme/NavbarItem/{DropdownNavbarItem.tsx => DropdownNavbarItem/index.tsx} (98%) create mode 100644 packages/docusaurus-theme-classic/src/theme/NavbarItem/DropdownNavbarItem/styles.module.css diff --git a/packages/docusaurus-theme-classic/src/theme/NavbarItem/DropdownNavbarItem.tsx b/packages/docusaurus-theme-classic/src/theme/NavbarItem/DropdownNavbarItem/index.tsx similarity index 98% rename from packages/docusaurus-theme-classic/src/theme/NavbarItem/DropdownNavbarItem.tsx rename to packages/docusaurus-theme-classic/src/theme/NavbarItem/DropdownNavbarItem/index.tsx index bc315a1fa750..fc1d8d356048 100644 --- a/packages/docusaurus-theme-classic/src/theme/NavbarItem/DropdownNavbarItem.tsx +++ b/packages/docusaurus-theme-classic/src/theme/NavbarItem/DropdownNavbarItem/index.tsx @@ -19,6 +19,7 @@ import type { DesktopOrMobileNavBarItemProps, Props, } from '@theme/NavbarItem/DropdownNavbarItem'; +import styles from './styles.module.css'; function isItemActive( item: LinkLikeNavbarItemProps, @@ -143,6 +144,7 @@ function DropdownNavbarItemMobile({