From 8cd7991c510cffec3a9910700b6435da9b64c4f0 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 12 Feb 2023 23:08:57 +0800 Subject: [PATCH] style: style change --- src/components/Topbar/TopbarHistoryPop.vue | 25 ++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/src/components/Topbar/TopbarHistoryPop.vue b/src/components/Topbar/TopbarHistoryPop.vue index f7930f0c..8154364a 100644 --- a/src/components/Topbar/TopbarHistoryPop.vue +++ b/src/components/Topbar/TopbarHistoryPop.vue @@ -274,7 +274,9 @@ function scrollToTop(element: HTMLElement, duration: number) { @@ -288,7 +290,11 @@ function scrollToTop(element: HTMLElement, duration: number) { > {{ - `${historyItem.progress === -1 ? calcCurrentTime(historyItem.duration) : calcCurrentTime(historyItem.progress)} / + `${ + historyItem.progress === -1 + ? calcCurrentTime(historyItem.duration) + : calcCurrentTime(historyItem.progress) + } / ${calcCurrentTime(historyItem.duration)}` }} @@ -306,14 +312,16 @@ function scrollToTop(element: HTMLElement, duration: number) {
@@ -366,6 +375,9 @@ function scrollToTop(element: HTMLElement, duration: number) { Live @@ -404,7 +416,8 @@ function scrollToTop(element: HTMLElement, duration: number) { --at-apply: relative text-$bew-text-2; &::after { - --at-apply: absolute bottom-0 left-0 w-full h-12px bg-$bew-theme-color opacity-0 transform scale-x-0 -z-1 transition-all duration-300; + --at-apply: absolute bottom-0 left-0 w-full h-12px bg-$bew-theme-color + opacity-0 transform scale-x-0 -z-1 transition-all duration-300; content: ''; } }