diff --git a/components/date-picker/style/index.tsx b/components/date-picker/style/index.tsx index b8a0fe0e34de..87a4f7873485 100644 --- a/components/date-picker/style/index.tsx +++ b/components/date-picker/style/index.tsx @@ -969,6 +969,7 @@ const genPickerStyle: GenerateStyle = (token) => { display: 'inline-flex', alignItems: 'center', background: colorBgContainer, + lineHeight: 1, border: `${lineWidth}px ${lineType} ${colorBorder}`, borderRadius, transition: `border ${motionDurationMid}, box-shadow ${motionDurationMid}`, diff --git a/components/input/style/index.tsx b/components/input/style/index.tsx index 8b922b0b4f4e..03cfd70a8602 100644 --- a/components/input/style/index.tsx +++ b/components/input/style/index.tsx @@ -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`]: {