diff --git a/src/assets/index.css b/src/assets/index.css index b55e9e9a..554bc366 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -1,7 +1,7 @@ /* * @file assets/index.css * @description 全局样式文件 - * @since Beta v0.5.5 + * @since Beta v0.7.2 */ @import "fonts/index.css"; @@ -62,26 +62,27 @@ html { /* * @description 侧边滚动条样式 - * @since Beta v0.5.5 + * @since Beta v0.7.2 */ ::-webkit-scrollbar { - width: 8px; - height: 8px; - border-radius: 5px; + width: 4px; + height: 4px; + border-radius: 4px; } ::-webkit-scrollbar-track { - border-radius: 5px; + border-radius: 4px; background: var(--common-shadow-2); } ::-webkit-scrollbar-corner { - border-radius: 5px; + border-radius: 4px; background: var(--common-shadow-2); } ::-webkit-scrollbar-thumb { - border-radius: 5px; + min-height: 48px; + border-radius: 4px; background: var(--tgc-od-white); } diff --git a/src/components/pageHome/ph-pool-card.vue b/src/components/pageHome/ph-pool-card.vue index 5fb2eeca..a8e35e8e 100644 --- a/src/components/pageHome/ph-pool-card.vue +++ b/src/components/pageHome/ph-pool-card.vue @@ -221,7 +221,6 @@ function getBox(info: TGApp.App.Character.WikiBriefInfo): TItemBoxData { gap: 8px; &::-webkit-scrollbar-thumb { - border-radius: 8px; background: var(--common-shadow-t-4); } } diff --git a/src/components/viewPost/vp-overlay-collection.vue b/src/components/viewPost/vp-overlay-collection.vue index 7a77d5f0..02664202 100644 --- a/src/components/viewPost/vp-overlay-collection.vue +++ b/src/components/viewPost/vp-overlay-collection.vue @@ -101,14 +101,6 @@ async function toPost(postId: string, index: number): Promise { padding-right: 8px; overflow-y: auto; row-gap: 12px; - - &::-webkit-scrollbar { - width: 4px; - } - - &::-webkit-scrollbar-thumb { - min-height: 40px; - } } .tpoc-load {