From 44c47d549e5c0ee1ba99c045a6a4a09d4dc0dff1 Mon Sep 17 00:00:00 2001 From: wuming230 <1819845645@qq.com> Date: Fri, 21 Mar 2025 17:31:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E5=9B=BE=E7=89=87=E7=BC=A9=E6=94=BE=E7=9A=84=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/src/components/ImgZoomDrag.vue | 5 +++++ docs/.vitepress/src/views/docsNode/TheDocsNode.vue | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/src/components/ImgZoomDrag.vue b/docs/.vitepress/src/components/ImgZoomDrag.vue index b0dcdf8..70d6f9e 100644 --- a/docs/.vitepress/src/components/ImgZoomDrag.vue +++ b/docs/.vitepress/src/components/ImgZoomDrag.vue @@ -293,6 +293,11 @@ onUnmounted(() => { display: flex; justify-content: center; align-items: center; + + @include respond-to('phone') { + max-width: calc(100vw - 32px); + max-height: calc(100vh - 32px); + } } .target-box { diff --git a/docs/.vitepress/src/views/docsNode/TheDocsNode.vue b/docs/.vitepress/src/views/docsNode/TheDocsNode.vue index c350ca6..de9bd08 100644 --- a/docs/.vitepress/src/views/docsNode/TheDocsNode.vue +++ b/docs/.vitepress/src/views/docsNode/TheDocsNode.vue @@ -221,7 +221,15 @@ onUnmounted(() => { } .item-child { width: 100%; - margin-bottom: 12px; + margin-bottom: 12px !important; + &:last-of-type { + margin-bottom: 0 !important; + } + } + .child-node-list { + .o-col { + margin-bottom: 12px; + } } .description { margin-top: 8px; -- Gitee