Commit f675fff2e66054b4157b2a330dbf151822b0befd

Authored by vben
1 parent da04913e

fix(image): fix preview style close #276

CHANGELOG.zh_CN.md
@@ -4,6 +4,10 @@ @@ -4,6 +4,10 @@
4 4
5 - 新增 `settingButtonPosition`配置项,用于配置`设置`按钮位置 5 - 新增 `settingButtonPosition`配置项,用于配置`设置`按钮位置
6 6
  7 +### 🐛 Bug Fixes
  8 +
  9 +- 修复图片预览样式错误
  10 +
7 ## 2.0.0 (2021-02-18) 11 ## 2.0.0 (2021-02-18)
8 12
9 ## (破坏性更新) Breaking changes 13 ## (破坏性更新) Breaking changes
src/design/ant/index.less
@@ -7,6 +7,12 @@ @@ -7,6 +7,12 @@
7 width: 100%; 7 width: 100%;
8 } 8 }
9 9
  10 +.ant-image-preview-root {
  11 + img {
  12 + display: unset;
  13 + }
  14 +}
  15 +
10 .ant-back-top { 16 .ant-back-top {
11 right: 20px; 17 right: 20px;
12 bottom: 20px; 18 bottom: 20px;