Skip to content

Commit

Permalink
dev: style updates to navigation tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-crowell committed Jul 6, 2024
1 parent 7abb3be commit 8ed8a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/widgets/Navigation/NavigationTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function NavigationTabs({
className={cn(
interactiveStyles.focus,
'cursor-pointer',
'group relative inline-flex flex-row items-center gap-1 rounded px-3 active:text-primary hover:text-primary selected:font-bold dark:active:text-primary-dark dark:hover:text-primary-dark [&>*:first-child]:selected:bg-primary',
'focus-visible::text-primary dark:focus-visible::text-primary-dark group relative inline-flex flex-row items-center gap-1 rounded px-3 hover:text-primary selected:font-bold dark:hover:text-primary-dark [&>*:first-child]:selected:bg-primary',
value.level === 0 ? 'h-11' : 'h-8',
orientation === 'horizontal' ? 'justify-center [&>*:first-child]:selected:h-[6px]' : 'justify-start [&>*:first-child]:selected:w-[6px]',
)}
Expand All @@ -104,7 +104,7 @@ export function NavigationTabs({
>
<div
className={cn(
'absolute rounded-[2px] transition-all group-hover:bg-primary/60 group-focus:bg-primary/60 dark:group-hover:bg-primary-dark/60 dark:group-focus:bg-primary-dark/60',
'absolute rounded-[2px] transition-all group-hover:bg-primary/60 group-focus-visible:bg-primary/60 dark:group-hover:bg-primary-dark/60 dark:group-focus-visible:bg-primary-dark/60',
orientation === 'horizontal' ? 'bottom-0 left-0 h-[4px] w-full' : 'left-0 top-0 h-full w-[4px]',
)}
aria-hidden="true"
Expand Down

0 comments on commit 8ed8a07

Please sign in to comment.