Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d40167f

Browse files
committed
docs: clean up wording on SearchField comment
1 parent f7f8c3e commit d40167f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

site/src/components/SearchField/SearchField.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ export const SearchField: FC<SearchFieldProps> = ({
2121
const theme = useTheme();
2222
return (
2323
<TextField
24-
// Have to specify min width so that, as we keep adding more and
25-
// control options to the filter row, the text box doesn't have a
26-
// risk of shrinking so much that it becomes un-clickable
24+
// Specifying `minWidth` so that the text box can't shrink so much
25+
// that it becomes un-clickable as we add more filter controls
2726
css={{ minWidth: "320px" }}
2827
size="small"
2928
value={value}

0 commit comments

Comments
 (0)