Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions src/app/service-providers/components/DesktopTableFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ import {
backgroundVariants,
useBackground,
} from '@filecoin-foundation/ui-filecoin/Section/Section'
import {
Popover,
PopoverBackdrop,
PopoverButton,
PopoverPanel,
} from '@headlessui/react'
import { Popover, PopoverButton, PopoverPanel } from '@headlessui/react'
import { FunnelSimpleIcon } from '@phosphor-icons/react/dist/ssr'
import { clsx } from 'clsx'

Expand Down Expand Up @@ -50,13 +45,11 @@ export function DesktopTableFilters({ options }: DesktopTableFiltersProps) {
</span>
</PopoverButton>

<PopoverBackdrop className="fixed inset-0 bg-zinc-950/5" />

<PopoverPanel
anchor={{ to: 'bottom', gap: 16 }}
className={clsx(
backgroundVariants[theme],
'@container w-[640px] max-h-[80vh] overflow-y-auto p-6 rounded-2xl border border-(--color-listbox-border) shadow-xs',
'@container w-[640px] z-20 max-h-[80vh] overflow-y-auto p-6 rounded-2xl border border-(--color-listbox-border) shadow-xl',
)}
>
<div className="flex gap-16">
Expand Down
5 changes: 1 addition & 4 deletions src/app/warm-storage-service/components/LocationFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import {
Fieldset,
Popover,
PopoverBackdrop,
PopoverButton,
PopoverPanel,
} from '@headlessui/react'
Expand Down Expand Up @@ -52,13 +51,11 @@ export function LocationFilter({ options }: LocationFilterProps) {
</span>
</PopoverButton>

<PopoverBackdrop className="fixed inset-0 bg-zinc-950/5" />

<PopoverPanel
anchor={{ to: 'bottom', gap: 16 }}
className={clsx(
backgroundVariants[theme],
'w-80 max-h-96 overflow-y-auto p-6 rounded-2xl border border-(--color-listbox-border) shadow-xs',
'w-80 max-h-96 overflow-y-auto p-6 rounded-2xl border border-(--color-listbox-border) shadow-xl z-20',
)}
>
<Fieldset>
Expand Down
Loading