Fix dropdown transparency

This commit is contained in:
MartinBraquet
2025-07-30 13:46:17 +02:00
parent 0ecc8edd5b
commit 94476e330c

View File

@@ -451,7 +451,7 @@ function RegisterComponent() {
{(showDropdown || newInterest) && (
<div
className="absolute z-10 mt-1 w-full dark:bg-gray-900 shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm">
className="absolute z-10 mt-1 w-full bg-white dark:bg-gray-900 shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm">
{/* New interest option */}
{newInterest && !allInterests.some(i =>
i.name.toLowerCase() === newInterest.toLowerCase()