fix: avatar and title are misplaced (#40395)

* fix: avatar and title are misplaced

* fix

* fix

* fix
This commit is contained in:
lijianan 2023-01-29 02:26:28 +08:00 committed by GitHub
parent ba8e646346
commit cb95c8a3b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
import type { CSSObject } from '@ant-design/cssinjs';
import { resetComponent } from '../../style';
import type { FullToken, GenerateStyle } from '../../theme/internal';
import { genComponentStyleHook, mergeToken } from '../../theme/internal';
import { resetComponent } from '../../style';
export interface ComponentToken {
contentWidth: number;
@ -275,6 +275,7 @@ const genBaseStyle: GenerateStyle<ListToken> = (token) => {
marginBlockEnd: padding,
[`${componentCls}-item-meta-title`]: {
marginBlockStart: 0,
marginBlockEnd: paddingSM,
color: colorText,
fontSize: token.fontSizeLG,