Skip to content

Commit

Permalink
navitem-css-change (#6888)
Browse files Browse the repository at this point in the history
Co-authored-by: OH HYUN KEUN <ohhk@uitgis.com>
  • Loading branch information
ohe1013 and OH HYUN KEUN authored May 21, 2024
1 parent beefa06 commit 80d30d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout/TopNav/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function NavItem({url, isActive, children}: any) {
<Link
href={url}
className={cn(
'active:scale-95 transition-transform w-full text-center outline-link py-1.5 px-1.5 xs:px-3 sm:px-4 rounded-full capitalize',
'active:scale-95 transition-transform w-full text-center outline-link py-1.5 px-1.5 xs:px-3 sm:px-4 rounded-full capitalize whitespace-nowrap',
!isActive && 'hover:bg-primary/5 hover:dark:bg-primary-dark/5',
isActive &&
'bg-highlight dark:bg-highlight-dark text-link dark:text-link-dark'
Expand Down

0 comments on commit 80d30d7

Please sign in to comment.