mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-03 05:37:56 +01:00
fix(NavigationMenu): remove font-medium in popover children
This commit is contained in:
@@ -22,7 +22,7 @@ export default (options: Required<ModuleOptions>) => ({
|
|||||||
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',
|
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',
|
childLinkWrapper: 'min-w-0',
|
||||||
childLinkIcon: 'size-5 shrink-0',
|
childLinkIcon: 'size-5 shrink-0',
|
||||||
childLinkLabel: 'truncate font-medium',
|
childLinkLabel: 'truncate',
|
||||||
childLinkLabelExternalIcon: 'inline-block size-3 align-top text-dimmed',
|
childLinkLabelExternalIcon: 'inline-block size-3 align-top text-dimmed',
|
||||||
childLinkDescription: 'text-muted',
|
childLinkDescription: 'text-muted',
|
||||||
separator: 'px-2 h-px bg-border',
|
separator: 'px-2 h-px bg-border',
|
||||||
@@ -59,6 +59,7 @@ export default (options: Required<ModuleOptions>) => ({
|
|||||||
link: 'px-2.5 py-1.5 before:inset-x-px before:inset-y-0',
|
link: 'px-2.5 py-1.5 before:inset-x-px before:inset-y-0',
|
||||||
childList: 'grid p-2',
|
childList: 'grid p-2',
|
||||||
childLink: 'px-3 py-2 gap-2 before:inset-x-px before:inset-y-0',
|
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'
|
content: 'absolute top-0 left-0 w-full'
|
||||||
},
|
},
|
||||||
vertical: {
|
vertical: {
|
||||||
|
|||||||
Reference in New Issue
Block a user