From 35340038237129d6b9cdc23866fbc739ddcc6ff0 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 12 Jul 2024 14:55:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=B5=8F=E8=A7=88=E5=99=A8=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E6=BB=9A=E5=8A=A8=E6=9D=A1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/data-visualization/canvas/DePreview.vue | 6 +++++- .../src/custom-component/rich-text/DeRichTextView.vue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue index c7aa3e3295..ca427acc6e 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue @@ -403,10 +403,14 @@ defineExpose({ overflow-x: hidden; overflow-y: auto; position: relative; - ::-webkit-scrollbar { + div::-webkit-scrollbar { width: 0px !important; height: 0px !important; } + div { + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ + } } .fix-button { diff --git a/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue b/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue index 3ba2890d7e..e2ab227cb0 100644 --- a/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue +++ b/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue @@ -509,7 +509,7 @@ defineExpose({ height: 100%; overflow-y: auto !important; position: relative; - ::-webkit-scrollbar { + div::-webkit-scrollbar { width: 0px !important; height: 0px !important; }