From db018ba9653a62ca32dce16e5ffd8db6a5113101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Mon, 2 Sep 2024 12:17:46 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E8=B0=83=E6=95=B4=E5=9B=BE?= =?UTF-8?q?=E7=89=87&=E6=BB=9A=E5=8A=A8=E6=9D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/index.css | 10 ++++++++-- src/components/post/tpo-image.vue | 3 --- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/assets/index.css b/src/assets/index.css index da8b46e8..b55e9e9a 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -1,7 +1,7 @@ /* * @file assets/index.css * @description 全局样式文件 - * @since Beta v0.5.3 + * @since Beta v0.5.5 */ @import "fonts/index.css"; @@ -62,10 +62,11 @@ html { /* * @description 侧边滚动条样式 - * @since Beta v0.5.3 + * @since Beta v0.5.5 */ ::-webkit-scrollbar { width: 8px; + height: 8px; border-radius: 5px; } @@ -74,6 +75,11 @@ html { background: var(--common-shadow-2); } +::-webkit-scrollbar-corner { + border-radius: 5px; + background: var(--common-shadow-2); +} + ::-webkit-scrollbar-thumb { border-radius: 5px; background: var(--tgc-od-white); diff --git a/src/components/post/tpo-image.vue b/src/components/post/tpo-image.vue index eb49f782..c77866a7 100644 --- a/src/components/post/tpo-image.vue +++ b/src/components/post/tpo-image.vue @@ -144,12 +144,9 @@ onUnmounted(() => { .tpoi-top-ori { position: relative; - display: flex; overflow: auto; max-width: 100%; max-height: 70%; - align-items: center; - justify-content: center; cursor: zoom-out; }