Skip to content

Commit

Permalink
Move text input style overrides into sx prop (#1446)
Browse files Browse the repository at this point in the history
* Move text input style overrides into sx prop

* Update src/SelectPanel/SelectPanel.tsx

* Create calm-ants-teach.md
  • Loading branch information
colebemis authored Sep 21, 2021
1 parent f3f5afb commit b4e5287
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-ants-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/components": patch
---

Fix filter input spacing in SelectPanel
3 changes: 1 addition & 2 deletions src/SelectPanel/SelectPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ export function SelectPanel({

const extendedTextInputProps: Partial<TextInputProps> = useMemo(() => {
return {
mx: 2,
my: 2,
sx: {m: 2},
contrast: true,
...textInputProps
}
Expand Down

0 comments on commit b4e5287

Please sign in to comment.