mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
fix(upload): add height to picture card style (#56864)
This commit is contained in:
@@ -141,6 +141,8 @@ const genPictureCardStyle: GenerateStyle<UploadToken> = (token) => {
|
|||||||
[`${listCls}${listCls}-picture-card, ${listCls}${listCls}-picture-circle`]: {
|
[`${listCls}${listCls}-picture-card, ${listCls}${listCls}-picture-circle`]: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexWrap: 'wrap',
|
flexWrap: 'wrap',
|
||||||
|
height: uploadPictureCardSize,
|
||||||
|
|
||||||
'@supports not (gap: 1px)': {
|
'@supports not (gap: 1px)': {
|
||||||
'& > *': {
|
'& > *': {
|
||||||
marginBlockEnd: token.marginXS,
|
marginBlockEnd: token.marginXS,
|
||||||
|
|||||||
Reference in New Issue
Block a user