Fix sort menu dropdown

This commit is contained in:
Richard Roberson 2025-02-13 04:29:58 -07:00
parent 005ac66d7e
commit a1f069c0ae

View file

@ -39,7 +39,7 @@ export function SortControls({
<span>{sortOptions.find(opt => opt.value === sortBy)?.label}</span>
<ChevronUpDownIcon className="h-2.5 w-2.5 sm:h-3 sm:w-3" />
</ListboxButton>
<ListboxOptions className="absolute z-50 w-28 sm:w-32 overflow-auto rounded-lg bg-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none">
<ListboxOptions anchor="top end" className="absolute z-50 w-28 sm:w-32 overflow-auto rounded-lg bg-background shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none">
{sortOptions.map((option) => (
<ListboxOption
key={option.value}