mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
fix: avatar and title are misplaced (#40395)
* fix: avatar and title are misplaced * fix * fix * fix
This commit is contained in:
parent
ba8e646346
commit
cb95c8a3b9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user