feat: add image zoom feature (#250)

支持点击放大图片。

```release-note
None 
```
This commit is contained in:
Ryan Wang
2023-09-06 16:56:14 +08:00
committed by GitHub
parent d8158746f1
commit 12a8b47426
4 changed files with 66 additions and 0 deletions

View File

@@ -36,3 +36,8 @@ p > img {
box-shadow: 2px 2px 0.4rem 2px rgba(0, 0, 0, 0.3);
overflow: hidden;
}
.medium-zoom-overlay,
.medium-zoom-image--opened {
z-index: 999;
}