Skip to content

Commit 0b77779

Browse files
committed
fix: font size and transition
1 parent 261426d commit 0b77779

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Shared/Components/SelectPicker/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const SELECT_PICKER_FONT_SIZE_MAP: Record<SelectPickerProps['size'], CSSP
2222
[ComponentSizeType.small]: '12px',
2323
[ComponentSizeType.medium]: '13px',
2424
[ComponentSizeType.large]: '13px',
25-
[ComponentSizeType.xl]: '20px',
25+
[ComponentSizeType.xl]: '16px',
2626
}
2727

2828
export const SELECT_PICKER_ICON_SIZE_MAP: Record<SelectPickerProps['size'], Pick<CSSProperties, 'width' | 'height'>> = {

src/Shared/Components/SelectPicker/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export const getCommonSelectStyle = <OptionValue, IsMulti extends boolean>({
166166
maxHeight: '120px',
167167
overflow: 'auto',
168168
alignItems: 'safe center',
169-
transition: 'border-color 0.17s, border 0.17s',
169+
transition: 'border-color 0.17s, border 0.17s, gap 0.17s',
170170
...(control(base, state) || {}),
171171

172172
'&:hover': {
@@ -320,7 +320,7 @@ export const getCommonSelectStyle = <OptionValue, IsMulti extends boolean>({
320320
margin: 0,
321321
padding: 0,
322322
color: 'var(--N900)',
323-
size: '13px',
323+
fontSize: '13px',
324324
fontWeight: 400,
325325
lineHeight: '20px',
326326
overflow: 'hidden',

0 commit comments

Comments
 (0)