Skip to content

Commit 66c7143

Browse files
committed
fix: padding inline and transition
1 parent ce14fc8 commit 66c7143

File tree

1 file changed

+2
-1
lines changed
  • src/Shared/Components/SelectPicker

1 file changed

+2
-1
lines changed

src/Shared/Components/SelectPicker/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const getVariantOverrides = <OptionValue>(
7272
'&:not(:hover)': {
7373
backgroundColor: 'transparent',
7474
borderColor: 'transparent',
75+
paddingInline: 0,
7576
},
7677
}),
7778
...(state.menuIsOpen && {
@@ -164,7 +165,7 @@ export const getCommonSelectStyle = <OptionValue, IsMulti extends boolean>({
164165
maxHeight: '120px',
165166
overflow: 'auto',
166167
alignItems: 'safe center',
167-
transition: 'border-color 0.17s, border 0.17s',
168+
transition: 'border-color 0.17s, border 0.17s, padding-inline 0.17s',
168169
...(control(base, state) || {}),
169170

170171
'&:hover': {

0 commit comments

Comments
 (0)