Fix: increase color popover z-index (#5489)

This commit is contained in:
Đức
2025-07-07 23:29:48 +07:00
committed by GitHub
parent 767e7c58b4
commit 1d990ef7c7

View File

@@ -55,7 +55,7 @@ export default function ColorToggle() {
leaveFrom="opacity-100 translate-y-0"
leaveTo="opacity-0 translate-y-1"
>
<Popover.Panel className="absolute -top-[75px] left-0">
<Popover.Panel className="absolute -top-[75px] left-0 z-10">
<div className="rounded-md shadow-lg ring-1 ring-black ring-opacity-5 w-[85vw] sm:w-full">
<div className="relative grid gap-2 p-2 grid-cols-11 bg-white/50 dark:bg-white/10 shadow-black/10 dark:shadow-black/20 rounded-md shadow-md">
{colors.map((color) => (