Skip to content

Commit

Permalink
fix(components): fix label vertical label
Browse files Browse the repository at this point in the history
  • Loading branch information
yee94 committed Jul 26, 2023
1 parent c954903 commit 1ae05ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/form-item/style/other.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export const genOtherStyle: GenerateStyle = (token) => {

// Vertical Label: https://github.com/ant-design/ant-design/blob/master/components/form/style/index.ts#L391C1-L404C4
[`${componentCls}-label`]: {
lineHeight: 'unset',
minHeight: 'unset',
minHeight: lineHeight * fontSize + paddingXS,
lineHeight,
padding: `0 0 ${paddingXS}px`,

'&-content': {
Expand Down

0 comments on commit 1ae05ec

Please sign in to comment.