Skip to content

Commit 334cfdd

Browse files
authored
Fix responsive class for SearchInput button (#3476)
1 parent 8c961a5 commit 334cfdd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fuzzy-impalas-swim.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'gitbook': patch
3+
---
4+
5+
Fix responsive class for SearchInput button

packages/gitbook/src/components/Search/SearchInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface SearchInputProps {
1919
}
2020

2121
// Size classes for medium size button
22-
const sizeClasses = ['text-sm', 'px-3.5', 'py-1.5', 'circular-corners:px-4'];
22+
const sizeClasses = ['text-sm', 'px-3.5', 'py-1.5', 'md:circular-corners:px-4'];
2323

2424
/**
2525
* Input to trigger search.

0 commit comments

Comments
 (0)