Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pla 975 add cursor pointer to nav #107

Merged
merged 2 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion src/components/navigation/navigation-disclosure-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const NavigationDisclosurePanelItem = ({
return (
<div
className={classNames(
"relative w-full py-3 pl-8 pr-1 text-left text-sm text-neutral-0 hover:bg-primary-900+10",
"relative w-full cursor-pointer py-3 pl-8 pr-1 text-left text-sm text-neutral-0 hover:bg-primary-900+10",
isIndented && "pl-14",
isActive && "bg-primary-900+20 font-semibold hover:bg-primary-900+20"
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/navigation-disclosure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const NavigationDisclosureButton = ({
}: NavigationDisclosureButtonProps) => {
return (
<Disclosure.Button
className="flex w-full items-center gap-x-3 px-4 py-3 text-left text-sm text-neutral-0 hover:bg-primary-900+10 ui-open:bg-primary-900+8 ui-open:font-semibold"
className="flex w-full cursor-pointer items-center gap-x-3 px-4 py-3 text-left text-sm text-neutral-0 hover:bg-primary-900+10 ui-open:bg-primary-900+8 ui-open:font-semibold"
onClick={onClick}
>
{LeftIcon ? <LeftIcon className="h-4 w-4" /> : null}
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/navigation-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const NavigationGroupItem = ({
return (
<div
className={classNames(
"relative flex items-center gap-x-3 px-4 py-3 text-sm text-neutral-0 hover:bg-primary-900+10",
"relative flex cursor-pointer items-center gap-x-3 px-4 py-3 text-sm text-neutral-0 hover:bg-primary-900+10",
isActive && "bg-primary-900+20 font-semibold hover:bg-primary-900+20"
)}
{...props}
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/navigation-popover-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const NavigationPopoverButton = ({
return (
<Popover.Button
ref={(el) => el && setReferenceElement(el)}
className="flex w-full items-center gap-x-3 px-4 py-3 text-left text-sm text-neutral-0 hover:bg-primary-900+10 ui-open:bg-primary-900+8 ui-open:font-semibold"
className="flex w-full cursor-pointer items-center gap-x-3 px-4 py-3 text-left text-sm text-neutral-0 hover:bg-primary-900+10 ui-open:bg-primary-900+8 ui-open:font-semibold"
onClick={onClick}
>
<>
Expand Down
Loading