mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
style: fix input addon misplace when zoom up (#39842)
This commit is contained in:
parent
45dcbd50f4
commit
689feb8a1a
@ -969,6 +969,7 @@ const genPickerStyle: GenerateStyle<PickerToken> = (token) => {
|
||||
display: 'inline-flex',
|
||||
alignItems: 'center',
|
||||
background: colorBgContainer,
|
||||
lineHeight: 1,
|
||||
border: `${lineWidth}px ${lineType} ${colorBorder}`,
|
||||
borderRadius,
|
||||
transition: `border ${motionDurationMid}, box-shadow ${motionDurationMid}`,
|
||||
|
@ -274,6 +274,7 @@ export const genInputGroupStyle = (token: InputToken): CSSObject => {
|
||||
border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`,
|
||||
borderRadius: token.borderRadius,
|
||||
transition: `all ${token.motionDurationSlow}`,
|
||||
lineHeight: 1,
|
||||
|
||||
// Reset Select's style in addon
|
||||
[`${antCls}-select`]: {
|
||||
|
Loading…
Reference in New Issue
Block a user