fix a few z indexs

This commit is contained in:
Ivan Evans 2024-09-28 21:27:50 -06:00
parent 5421f4115e
commit ed277e302e
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ export function EditButton(props: EditButtonProps) {
<button
type="button"
onClick={onClick}
className="fixed bottom-9 right-7 z-999 flex h-12 w-12 items-center justify-center rounded-full bg-background-secondary text-white border-2 border-green-500 transition-[background-color,transform,box-shadow] hover:bg-background-secondaryHover hover:scale-110 cursor-pointer"
className="fixed bottom-9 right-7 z-50 flex h-12 w-12 items-center justify-center rounded-full bg-background-secondary text-white border-2 border-green-500 transition-[background-color,transform,box-shadow] hover:bg-background-secondaryHover hover:scale-110 cursor-pointer"
id={props.id ? `${props.id}-check` : undefined} // Optionally use a different id for this button
>
<Icon icon={Icons.CHECKMARK} />

View file

@ -991,7 +991,7 @@ export function DiscoverContent() {
{/* Dropdown options */}
{isDropdownOpen && (
<ul className="absolute top-full mb-1 rounded-lg bg-dropdown-background py-3 px-5 text-left text-white shadow-md border-2 border-gray-800 focus:outline-none tabbable cursor-pointer">
<ul className="absolute top-full z-50 mb-1 rounded-lg bg-dropdown-background py-3 px-5 text-left text-white shadow-md border-2 border-gray-800 focus:outline-none tabbable cursor-pointer">
<li
className={`cursor-pointer p-2 hover:text-gray-300 ${selectedCategory === "movies" ? "font-bold" : ""}`}
onClick={() => handleCategoryChange("movies")}