Skip to content

Commit 22a80ec

Browse files
committed
Fix NavMenu coloring
1 parent f529b3c commit 22a80ec

File tree

1 file changed

+2
-2
lines changed
  • apps/contract-verification/src/app/components

1 file changed

+2
-2
lines changed

apps/contract-verification/src/app/components/NavMenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface NavItemProps {
99

1010
const NavItem: React.FC<NavItemProps> = ({ to, icon, title }) => {
1111
return (
12-
<NavLink to={to} className={({ isActive }) => 'text-decoration-none d-flex flex-column justify-content-center px-2 ' + (isActive ? 'bg-transparent' : 'bg-dark')}>
12+
<NavLink to={to} className={({ isActive }) => 'text-decoration-none d-flex flex-column justify-content-center px-2 ' + (isActive ? 'bg-light' : 'bg-transparent')}>
1313
<span>
1414
<span>{icon}</span>
1515
<span className="ml-2">{title}</span>
@@ -25,7 +25,7 @@ export const NavMenu = () => {
2525
<NavItem to="/receipts" icon={<i className="fas fa-receipt"></i>} title="Receipts" />
2626
<NavItem to="/lookup" icon={<i className="fas fa-search"></i>} title="Lookup" />
2727
<NavItem to="/settings" icon={<i className="fas fa-cog"></i>} title="Settings" />
28-
<div className="flex-grow-1 bg-dark"></div>
28+
<div className="flex-grow-1"></div>
2929
</nav>
3030
)
3131
}

0 commit comments

Comments
 (0)