diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 15154a3..1c2c922 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -73,6 +73,15 @@ background: #0f172a; } +/* ---- 图片放大:层级高于导航栏与侧边栏,避免被遮挡 ---- */ +.medium-zoom-overlay { + z-index: 100; +} + +.medium-zoom-image--opened { + z-index: 101; +} + /* 图片说明文字 */ .vp-doc p:has(> img) + em, .vp-doc img + em {