fix: reverter espaçamento dos links para px-3 original
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,15 +40,14 @@ type TopNavMenuProps = {
|
||||
preLancamentosCount?: number;
|
||||
};
|
||||
|
||||
// pl-3 pr-7: compensa os 16px da seta (ml-1 + size-3) dos triggers
|
||||
const linkBase =
|
||||
"inline-flex h-9 items-center justify-center rounded-md pl-3 pr-7 py-2 text-sm font-medium transition-colors";
|
||||
const linkIdle = "text-foreground/90 hover:text-foreground hover:underline";
|
||||
"inline-flex h-9 items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition-colors";
|
||||
const linkIdle = "text-foreground hover:text-foreground hover:underline";
|
||||
const linkActive = "text-primary";
|
||||
|
||||
// NavigationMenuTrigger override: remove backgrounds, keep underline style
|
||||
const triggerClass = [
|
||||
"text-foreground/90!",
|
||||
"text-foreground!",
|
||||
"bg-transparent!",
|
||||
"hover:bg-transparent!",
|
||||
"hover:text-foreground!",
|
||||
|
||||
Reference in New Issue
Block a user