Commit 0be602e
authored
fix(scraps): do not spread all styles from theme.font onto button (#104976)
we've recently widened `theme.form` to contain more information for
better grouping, but spreading has a negative impact of adding things we
don't want. In this case, buttons got a padding they shouldn't have. The
fix is to just apply the props we want explicitly, even if that is a bit
more code.1 parent f7f2459 commit 0be602e
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
0 commit comments