Skip to content

Commit 35370d8

Browse files
committed
set a default bg color to the menu content to avoid flashing color feeling
1 parent 36fe6f7 commit 35370d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Nav/Menu/MenuContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const MenuContent = ({ items, isOpen, sections }: MenuContentProps) => {
5252
<Content asChild>
5353
<motion.div
5454
className={cn(
55-
"absolute inset-x-0 top-19 border border-body-light shadow-md",
55+
"absolute inset-x-0 top-19 border border-body-light bg-menu-1-background shadow-md",
5656
base()
5757
)}
5858
variants={containerVariants}

0 commit comments

Comments
 (0)