Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import type {
DesktopOrMobileNavBarItemProps,
Props,
} from '@theme/NavbarItem/DropdownNavbarItem';
import styles from './styles.module.css';

function isItemActive(
item: LinkLikeNavbarItemProps,
Expand Down Expand Up @@ -137,7 +138,7 @@ function DropdownNavbarItemMobile({

return (
<li
className={clsx('menu__list-item', {
className={clsx(styles.dropdownNavbarItemMobile, 'menu__list-item', {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it called dropdownNavbarItemMobile? It's used on desktop, right?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, this is only for mobile :)

'menu__list-item--collapsed': collapsed,
})}>
<NavbarNavLink
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

.dropdownNavbarItemMobile {
cursor: pointer;
}