From fe6c59c9af08344a1dd56d81b7248b760379f7c1 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Wed, 15 Oct 2025 10:04:04 +0800 Subject: [PATCH] fix --- .../Canvas/CanvasEditor/components/LayersPanel/layersPanel.css | 2 +- .../Canvas/CanvasEditor/components/LayersPanel/layersPanel.less | 2 +- src/component/Canvas/CanvasEditor/index.vue | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/component/Canvas/CanvasEditor/components/LayersPanel/layersPanel.css b/src/component/Canvas/CanvasEditor/components/LayersPanel/layersPanel.css index 97a58719..3bfac5b2 100644 --- a/src/component/Canvas/CanvasEditor/components/LayersPanel/layersPanel.css +++ b/src/component/Canvas/CanvasEditor/components/LayersPanel/layersPanel.css @@ -10,7 +10,7 @@ z-index: 6; overflow-y: auto; height: 100%; - max-height: 85vh; + max-height: 70vh; -webkit-overflow-scrolling: touch; } .layers-header { diff --git a/src/component/Canvas/CanvasEditor/components/LayersPanel/layersPanel.less b/src/component/Canvas/CanvasEditor/components/LayersPanel/layersPanel.less index 2229c0b1..c792a813 100644 --- a/src/component/Canvas/CanvasEditor/components/LayersPanel/layersPanel.less +++ b/src/component/Canvas/CanvasEditor/components/LayersPanel/layersPanel.less @@ -13,7 +13,7 @@ z-index: 6; overflow-y: auto; height: 100%; - max-height: 85vh; + max-height: 70vh; -webkit-overflow-scrolling: touch; } diff --git a/src/component/Canvas/CanvasEditor/index.vue b/src/component/Canvas/CanvasEditor/index.vue index d46799e6..fa9c4415 100644 --- a/src/component/Canvas/CanvasEditor/index.vue +++ b/src/component/Canvas/CanvasEditor/index.vue @@ -1473,6 +1473,7 @@ button:hover { background: #fff; width: 35rem; max-height: 85vh; + height: 70%; box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.1); /* 添加阴影效果 */ backdrop-filter: blur(2px); /* 添加模糊效果 */ -webkit-backdrop-filter: blur(2px);