From da303554618dc80788a07edeea06f89ef56496ce Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 24 Jul 2025 14:48:42 +0800 Subject: [PATCH] style: hidden scroll bar --- frontend/src/views/dashboard/components/sq-text/index.vue | 4 ++++ frontend/src/views/dashboard/components/sq-view/index.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/frontend/src/views/dashboard/components/sq-text/index.vue b/frontend/src/views/dashboard/components/sq-text/index.vue index a3febbaf..6a58018e 100644 --- a/frontend/src/views/dashboard/components/sq-text/index.vue +++ b/frontend/src/views/dashboard/components/sq-text/index.vue @@ -124,6 +124,10 @@ onMounted(() => { overflow-y: auto !important; position: relative; padding: 12px !important; + div::-webkit-scrollbar { + width: 0 !important; + height: 0 !important; + } .rich-text-empty { position: absolute; width: calc(100% - 24px); diff --git a/frontend/src/views/dashboard/components/sq-view/index.vue b/frontend/src/views/dashboard/components/sq-view/index.vue index 0bf0ff36..f9c089c9 100644 --- a/frontend/src/views/dashboard/components/sq-view/index.vue +++ b/frontend/src/views/dashboard/components/sq-view/index.vue @@ -102,6 +102,10 @@ defineExpose({ background: #fff; padding: 12px !important; border-radius: 12px; + div::-webkit-scrollbar { + width: 0 !important; + height: 0 !important; + } .header-bar { height: 32px; display: flex;