Skip to content

Commit 8fff188

Browse files
Increase size for search button to improve accessibility on mobile (tailwindlabs#1968)
* Increase size for search button * Tweak border radius --------- Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
1 parent 769950d commit 8fff188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ export function Header(props: React.PropsWithChildren) {
160160
<GitHubLogo className="size-5 fill-black/40 dark:fill-gray-400" />
161161
</Link>
162162
</div>
163-
<div className="flex items-center gap-4 md:hidden">
164-
<SearchButton aria-label="Search">
163+
<div className="flex items-center gap-2.5 md:hidden">
164+
<SearchButton aria-label="Search" className="inline-grid size-7 place-items-center rounded-md">
165165
<svg viewBox="0 0 16 16" fill="currentColor" className="size-4">
166166
<path
167167
fillRule="evenodd"

0 commit comments

Comments
 (0)