Browse Source

fix: avatar and title are misplaced (#40395)

* fix: avatar and title are misplaced

* fix

* fix

* fix
pull/40431/head
lijianan 2 years ago
committed by GitHub
parent
commit
cb95c8a3b9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      components/list/style/index.ts

3
components/list/style/index.ts

@ -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…
Cancel
Save