Adapt padding of NavMenu

pull/5285/head
Manuel Wedler 2 months ago committed by Aniket
parent f2ae242341
commit 397be8d66a
  1. 2
      apps/contract-verification/src/app/components/NavMenu.tsx

@ -9,7 +9,7 @@ interface NavItemProps {
const NavItem: React.FC<NavItemProps> = ({ to, icon, title }) => { const NavItem: React.FC<NavItemProps> = ({ to, icon, title }) => {
return ( return (
<NavLink to={to} className={({ isActive }) => 'text-decoration-none d-flex flex-column justify-content-center p-2 small ' + (isActive ? 'bg-light' : 'bg-transparent')}> <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')}>
<span> <span>
<span>{icon}</span> <span>{icon}</span>
<span className="ml-2">{title}</span> <span className="ml-2">{title}</span>

Loading…
Cancel
Save