Skip to content

Commit

Permalink
fix(image): fix preview style close #276
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Feb 18, 2021
1 parent da04913 commit f675fff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- 新增 `settingButtonPosition`配置项,用于配置`设置`按钮位置

### 🐛 Bug Fixes

- 修复图片预览样式错误

## 2.0.0 (2021-02-18)

## (破坏性更新) Breaking changes
Expand Down
6 changes: 6 additions & 0 deletions src/design/ant/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
width: 100%;
}

.ant-image-preview-root {
img {
display: unset;
}
}

.ant-back-top {
right: 20px;
bottom: 20px;
Expand Down

0 comments on commit f675fff

Please sign in to comment.