Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix filter bug

Steven Tey02ea3faa803c
diff --git a/packages/ui/src/filter/filter-select.tsx b/packages/ui/src/filter/filter-select.tsx
index 001ca9a0ff..dac4e24ae0 100644
--- a/packages/ui/src/filter/filter-select.tsx
+++ b/packages/ui/src/filter/filter-select.tsx
@@ -143,9 +143,9 @@ export function FilterSelect({
<NoMatches />
</Command.List>
) : (
- <Command.List className="flex w-full min-w-[100px] flex-col gap-1">
+ <Command.List className="flex w-full min-w-[100px] flex-col gap-1 p-2">
{selectedFilter.options ? (
- <div className="p-2">
+ <>
{selectedFilter.options?.map((option) => {
const isSelected =
activeFilters?.find(
@@ -168,7 +168,7 @@ export function FilterSelect({
);
})}
<NoMatches />
- </div>
+ </>
) : (
<Command.Loading>
<div
@@ -287,7 +287,7 @@ function FilterButton({
const NoMatches = ({ style }: { style?: CSSProperties }) => (
<Command.Empty
- className="my-1 text-center text-sm text-gray-400"
+ className="p-2 text-center text-sm text-gray-400"
style={style}
>
No matches