Skip to content

Commit

Permalink
style: correct drop down activity indicator position
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Mar 25, 2024
1 parent a463578 commit 6b63730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/react/Menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ const DropDownMenu = ({ to, children, currentUri }) => (
className={classNames(
'custom-style group relative flex select-none items-center justify-between gap-1 rounded-full px-4 py-2 text-sm font-semibold leading-none text-zinc-600 outline-none hover:bg-white/20 hover:bg-zinc-200 hover:text-zinc-900 focus:shadow-[0_0_0_2px] focus:shadow-primary dark:text-zinc-50 dark:hover:bg-white/20 dark:hover:text-zinc-100 dark:focus:shadow-zinc-200',
{
'text-secondary before:absolute before:-top-[0.55rem] before:left-0 before:z-10 before:block before:h-1 before:w-full before:rounded-b-full before:bg-accent':
'text-secondary before:absolute before:-top-[0.47rem] before:left-0 before:z-10 before:block before:h-1 before:w-full before:rounded-b-full before:bg-accent':
isActive(to, currentUri),
},
)}
Expand Down

0 comments on commit 6b63730

Please sign in to comment.