docs: optimize css style (#700)

Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
This commit is contained in:
Carson Yang
2024-01-06 18:42:27 +08:00
committed by GitHub
parent 84cc4baf21
commit 13eda40443
10 changed files with 50 additions and 17 deletions

View File

@@ -64,7 +64,7 @@
></script>
<script>
const images = Array.from(document.querySelectorAll(".main-content img"));
const images = Array.from(document.querySelectorAll('.medium-zoom-image'));
images.forEach((img) => {
mediumZoom(img, {
margin: 0 /* The space outside the zoomed image */,