Skip to content

Commit 0236399

Browse files
committed
fix(NavigationMenu): remove font-medium in popover children
1 parent f2682fd commit 0236399

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/theme/navigation-menu.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default (options: Required<ModuleOptions>) => ({
2222
childLink: 'group relative size-full flex items-start text-start text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2',
2323
childLinkWrapper: 'min-w-0',
2424
childLinkIcon: 'size-5 shrink-0',
25-
childLinkLabel: 'truncate font-medium',
25+
childLinkLabel: 'truncate',
2626
childLinkLabelExternalIcon: 'inline-block size-3 align-top text-dimmed',
2727
childLinkDescription: 'text-muted',
2828
separator: 'px-2 h-px bg-border',
@@ -59,6 +59,7 @@ export default (options: Required<ModuleOptions>) => ({
5959
link: 'px-2.5 py-1.5 before:inset-x-px before:inset-y-0',
6060
childList: 'grid p-2',
6161
childLink: 'px-3 py-2 gap-2 before:inset-x-px before:inset-y-0',
62+
childLinkLabel: 'font-medium',
6263
content: 'absolute top-0 left-0 w-full'
6364
},
6465
vertical: {

0 commit comments

Comments
 (0)