Skip to content

Commit 286edfe

Browse files
committed
refactor: update padding of icons-list for better scroll bar appearance
1 parent 46d54ac commit 286edfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/search-icons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function SearchIcons() {
2323
<h2 className="text-xl font-bold">Search</h2>
2424
<Input placeholder="Search Icons" onChange={handleSearch} />
2525
<ScrollArea className="flex max-h-[calc(100dvh-512px)] min-h-96 flex-col">
26-
<div className="grid grid-cols-2 gap-4 p-4 xl:grid-cols-3 2xl:grid-cols-4">
26+
<div className="grid grid-cols-2 gap-4 px-4 xl:grid-cols-3 2xl:grid-cols-4">
2727
{filteredIcons.map((icon, index) => (
2828
<AddIconButton key={`icon-${index}`} icon={icon[1]} />
2929
))}

0 commit comments

Comments
 (0)