mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix: solve form label offset not working in vertical layout issue (#43155)
This commit is contained in:
parent
cc4277eb55
commit
5728abe94e
@ -1,8 +1,8 @@
|
||||
import type { CSSObject } from '@ant-design/cssinjs';
|
||||
import { resetComponent } from '../../style';
|
||||
import { genCollapseMotion, zoomIn } from '../../style/motion';
|
||||
import type { AliasToken, FullToken, GenerateStyle } from '../../theme/internal';
|
||||
import { genComponentStyleHook, mergeToken } from '../../theme/internal';
|
||||
import { resetComponent } from '../../style';
|
||||
import genFormValidateMotionStyle from './explain';
|
||||
|
||||
export interface FormToken extends FullToken<'Form'> {
|
||||
@ -389,7 +389,6 @@ const genInlineStyle: GenerateStyle<FormToken> = (token) => {
|
||||
};
|
||||
|
||||
const makeVerticalLayoutLabel = (token: FormToken): CSSObject => ({
|
||||
margin: 0,
|
||||
padding: `0 0 ${token.paddingXS}px`,
|
||||
whiteSpace: 'initial',
|
||||
textAlign: 'start',
|
||||
|
Loading…
Reference in New Issue
Block a user