diff --git a/components/upload/style/picture.ts b/components/upload/style/picture.ts index 1f8e184386..b6e65895de 100644 --- a/components/upload/style/picture.ts +++ b/components/upload/style/picture.ts @@ -141,6 +141,8 @@ const genPictureCardStyle: GenerateStyle = (token) => { [`${listCls}${listCls}-picture-card, ${listCls}${listCls}-picture-circle`]: { display: 'flex', flexWrap: 'wrap', + height: uploadPictureCardSize, + '@supports not (gap: 1px)': { '& > *': { marginBlockEnd: token.marginXS, diff --git a/package.json b/package.json index b2f523112a..084fbae87a 100644 --- a/package.json +++ b/package.json @@ -221,7 +221,7 @@ "adm-zip": "^0.5.16", "ajv": "^8.17.1", "ali-oss": "^6.23.0", - "antd-img-crop": "^4.27.0", + "antd-img-crop": "~4.27.0", "antd-style": "^4.1.0", "antd-token-previewer": "^3.0.0", "axios": "^1.13.2",