fix: override text color on dark mode

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe 2024-04-16 20:29:57 +07:00
parent 45d21f3f4f
commit 7f6e55e862
No known key found for this signature in database
GPG Key ID: CFD53CE570D42DF5

View File

@ -26,7 +26,7 @@ const ProfilePopover = ({ menu }: ProfilePopoverProps) => {
leaveTo="opacity-0 translate-y-1"
>
<Popover.Panel className="absolute -right-10 z-10 mt-2 w-72 max-w-lg px-4 sm:px-0 lg:right-0">
<div className="flex flex-col gap-2 overflow-hidden rounded-md bg-white px-4 py-3 shadow-lg ring-1 ring-black/5">
<div className="flex flex-col gap-2 overflow-hidden rounded-md bg-white px-4 py-3 text-black shadow-lg ring-1 ring-black/5">
<span className="text-sm font-medium">My Account</span>
<a
href="#"