From 02363994d66d3c2d11b9913f31167fa25f5c5de2 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 22 May 2025 11:56:49 +0200 Subject: [PATCH] fix(NavigationMenu): remove `font-medium` in popover children --- src/theme/navigation-menu.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/theme/navigation-menu.ts b/src/theme/navigation-menu.ts index 3882ae5a..694d0129 100644 --- a/src/theme/navigation-menu.ts +++ b/src/theme/navigation-menu.ts @@ -22,7 +22,7 @@ export default (options: Required) => ({ 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', childLinkWrapper: 'min-w-0', childLinkIcon: 'size-5 shrink-0', - childLinkLabel: 'truncate font-medium', + childLinkLabel: 'truncate', childLinkLabelExternalIcon: 'inline-block size-3 align-top text-dimmed', childLinkDescription: 'text-muted', separator: 'px-2 h-px bg-border', @@ -59,6 +59,7 @@ export default (options: Required) => ({ link: 'px-2.5 py-1.5 before:inset-x-px before:inset-y-0', childList: 'grid p-2', childLink: 'px-3 py-2 gap-2 before:inset-x-px before:inset-y-0', + childLinkLabel: 'font-medium', content: 'absolute top-0 left-0 w-full' }, vertical: {