From 8740dc2e63c6618522c7d91f2d57b7c68dd064db Mon Sep 17 00:00:00 2001 From: Hakadao Date: Wed, 11 Oct 2023 01:29:27 +0800 Subject: [PATCH] style: adjust styles --- src/components/Topbar/Topbar.vue | 2 +- src/contentScripts/views/Home/Home.vue | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/Topbar/Topbar.vue b/src/components/Topbar/Topbar.vue index 70028c4c..21989f45 100644 --- a/src/components/Topbar/Topbar.vue +++ b/src/components/Topbar/Topbar.vue @@ -210,7 +210,7 @@ async function getTopbarNewMomentsCount() { v-show="showTopbarMask" class="fixed top-0 left-0" w="full" - h="100px" + h="80px" opacity="100" pointer-events-none z--1 diff --git a/src/contentScripts/views/Home/Home.vue b/src/contentScripts/views/Home/Home.vue index 3734c49a..698bf4ff 100644 --- a/src/contentScripts/views/Home/Home.vue +++ b/src/contentScripts/views/Home/Home.vue @@ -89,17 +89,24 @@ onUnmounted(() => { v-for="tab in tabs" :key="tab.value" px-4 lh-40px bg="$bew-elevated-2" backdrop-glass rounded="$bew-radius" cursor-pointer shadow="$bew-shadow-2" - :style="{ backgroundColor: activatedPage === tab.value ? 'var(--bew-theme-color)' : null }" + :class="{ 'tab-activated': activatedPage === tab.value }" @click="activatedPage = tab.value" > {{ tab.label }} - + + + + - +