Skip to content

Commit 0aab46e

Browse files
committed
Add boxSizing to Select, Input
1 parent d810cb7 commit 0aab46e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/components/src/components/Input/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function Input({
6565
<Box
6666
display="inline-block"
6767
pos="relative"
68-
selectors={{ '&,&>*': { boxSizing: 'border-box' } }}
68+
selectors={{ '&,& *': { boxSizing: 'border-box' } }}
6969
>
7070
{icon && (
7171
<Center

packages/components/src/components/Select/index.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ export function Select({
124124
ref={ref}
125125
display="inline-block"
126126
pos="relative"
127+
selectors={{
128+
'&,& *': {
129+
boxSizing: 'border-box',
130+
},
131+
}}
127132
styleOrder={1}
128133
styleVars={{
129134
primary: colors?.primary,

0 commit comments

Comments
 (0)