Skip to content

Commit 330d06e

Browse files
chenxsanshortcuts
andauthored
Apply suggestions from code review
Co-authored-by: Clément Vannicatte <20689156+shortcuts@users.noreply.github.com>
1 parent d4697e5 commit 330d06e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docsearch-css/src/button.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
margin: 0 0 0 16px;
1313
padding: 0 8px;
1414
user-select: none;
15-
width: 155px;
15+
min-width: 155px;
1616
}
1717

1818
.DocSearch-Button:hover,
@@ -64,7 +64,7 @@
6464

6565
@media (max-width: 750px) {
6666
.DocSearch-Button {
67-
width: auto;
67+
min-width: auto;
6868
}
6969

7070
.DocSearch-Button-KeySeparator,

0 commit comments

Comments
 (0)