Skip to content

Commit 3070e98

Browse files
committed
fix: adjust SearcherBar styling for improved layout and responsiveness
1 parent 20c0ccc commit 3070e98

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/modules/SearcherBar.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@ export function SearcherBar({ className }: { className?: string }) {
77
return (
88
<div className={cn('relative m-auto w-full max-w-2xl', className)}>
99
<Input
10-
className="bg-input border-secondary w-full rounded-2xl py-6 pr-32 pl-8"
10+
className="bg-input border-secondary w-full rounded-2xl py-5.5 pr-32 pl-12 sm:py-6.5"
1111
placeholder="Search address or id or txHash"
1212
/>
13-
<Search size="18" className="absolute top-1/2 left-2 -translate-y-1/2" />
13+
<Search
14+
size="18"
15+
className="absolute top-1/2 left-4 -translate-y-1/2 sm:left-6"
16+
/>
1417
<Button
1518
size="sm"
1619
variant="outline"
17-
className="bg-input hover:bg-secondary absolute top-1/2 right-2 -translate-y-1/2"
20+
className="bg-input hover:bg-secondary absolute top-1/2 right-4 -translate-y-1/2 sm:right-6"
1821
>
1922
My activity
2023
</Button>

0 commit comments

Comments
 (0)