Skip to content

Commit

Permalink
revert: "refactor(CurrencySelect): improve paddings"
Browse files Browse the repository at this point in the history
This reverts commit 84d59f4.
  • Loading branch information
kripod committed May 22, 2024
1 parent 1bf53f8 commit cb3d304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CurrencySelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export function CurrencySelect<const T extends string>({
<ComboboxList
className={clsx(
"max-h-96 scroll-py-1.5 overflow-auto",
!matchesEmpty && "p-1.5",
!matchesEmpty && "p-1.5 pt-0",
)}
>
{(matches ?? items).map((item) => (
Expand All @@ -140,7 +140,7 @@ export function CurrencySelect<const T extends string>({
</ComboboxList>
</div>
{matchesEmpty ? (
<div className="m-1.5 px-2.5 py-2">No results found</div>
<div className="m-1.5 mt-0 px-2.5 py-2">No results found</div>
) : null}
</SelectPopover>
</SelectProvider>
Expand Down

0 comments on commit cb3d304

Please sign in to comment.