Skip to content

Commit e79d089

Browse files
committed
Adapt padding of NavMenu
1 parent 6303c7e commit e79d089

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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 p-2 small ' + (isActive ? 'bg-light' : 'bg-transparent')}>
12+
<NavLink to={to} className={({ isActive }) => 'text-decoration-none d-flex flex-column justify-content-center py-2 px-1 small ' + (isActive ? 'bg-light' : 'bg-transparent')}>
1313
<span>
1414
<span>{icon}</span>
1515
<span className="ml-2">{title}</span>

0 commit comments

Comments
 (0)