From a7c43c4cf41e7c5c83b2b27b364f357de84f9be7 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 16 Apr 2023 00:47:14 +0800 Subject: [PATCH] style: adjusting some details --- src/background/resetWebsiteStyle.ts | 3 +-- src/components/VideoCard.vue | 8 ++++---- src/contentScripts/views/Anime/components/AnimeCard.vue | 9 ++++++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/background/resetWebsiteStyle.ts b/src/background/resetWebsiteStyle.ts index a1ea7bbd..7b983a7b 100644 --- a/src/background/resetWebsiteStyle.ts +++ b/src/background/resetWebsiteStyle.ts @@ -28,10 +28,9 @@ body { min-width: unset !important; } -html { +html, body { background-color: var(--bew-bg); } - a, a:hover { color: unset; diff --git a/src/components/VideoCard.vue b/src/components/VideoCard.vue index 011f0d39..e649ca8d 100644 --- a/src/components/VideoCard.vue +++ b/src/components/VideoCard.vue @@ -254,12 +254,12 @@ function gotoChannel(mid: number) {
- {{ + {{ $t('common.view', { count: numFormatter(view) }, view) - }} - + }} + - {{ $t('common.danmaku', { count: numFormatter(danmaku) }, danmaku) }} + {{ $t('common.danmaku', { count: numFormatter(danmaku) }, danmaku) }}
{{ calcTimeSince(publishedTimestamp * 1000) }} diff --git a/src/contentScripts/views/Anime/components/AnimeCard.vue b/src/contentScripts/views/Anime/components/AnimeCard.vue index c1b05cbb..54921f52 100644 --- a/src/contentScripts/views/Anime/components/AnimeCard.vue +++ b/src/contentScripts/views/Anime/components/AnimeCard.vue @@ -44,14 +44,17 @@ defineProps<{ {{ title }}

-
+
{{ capsuleText }}
- {{ desc }} + + + {{ desc }} +