Next.js Discord

Discord Forum

odd padding/margin around my Link component

Unanswered
bogscam posted this in #help-forum
Open in Discord
is the Link component supposed to have this padding below it? i cant find anywhere across my codebase any margin or padding being added to it?

<Link
      href={href}
      className={`transition-colors ${
        isActive
          ? "text-white"
          : "text-text/50 hover:text-white"
      }`}
    >
      {label}
    </Link>


ive already used the inspect tab on chrome devtools but i found the only thing that removes this is disabling this line: --spacing: .25rem; which also breaks the layout of the whole site

0 Replies