diff --git a/components/select/style/single.ts b/components/select/style/single.ts index 5f2769c647ed..c54d953cf771 100644 --- a/components/select/style/single.ts +++ b/components/select/style/single.ts @@ -8,11 +8,6 @@ import type { SelectToken } from './token'; function genSizeStyle(token: SelectToken, suffix?: string): CSSObject { const { componentCls, inputPaddingHorizontalBase, borderRadius } = token; - const selectHeightWithoutBorder = token - .calc(token.controlHeight) - .sub(token.calc(token.lineWidth).mul(2)) - .equal(); - const suffixCls = suffix ? `${componentCls}-${suffix}` : ''; return { @@ -45,7 +40,6 @@ function genSizeStyle(token: SelectToken, suffix?: string): CSSObject { `]: { display: 'block', padding: 0, - lineHeight: unit(selectHeightWithoutBorder), transition: `all ${token.motionDurationSlow}, visibility 0s`, alignSelf: 'center', }, @@ -96,9 +90,6 @@ function genSizeStyle(token: SelectToken, suffix?: string): CSSObject { [`${componentCls}-selection-search-input`]: { fontSize: token.fontSize, }, - '&:after': { - lineHeight: unit(selectHeightWithoutBorder), - }, }, },