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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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, |
|
|
|