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; }