style: adjust styles

This commit is contained in:
Hakadao
2023-11-05 23:26:22 +08:00
parent 8c42b73e14
commit be18b42e35
2 changed files with 3 additions and 1 deletions

View File

@@ -200,7 +200,7 @@ async function getTopbarNewMomentsCount() {
p="lg:x-20 md:x-16 x-14"
h="70px"
>
<div w="xl:280px" shrink-0>
<div w="2xl:380px xl:280px" shrink-0>
<div
z-1 relative w-fit
@mouseenter.self="showLogoMenuDropdown()"

View File

@@ -63,6 +63,8 @@ const isTopbarFixed = computed(() => {
|| /https?:\/\/(www.)?bilibili.com\/video\/.*/.test(location.href)
// anime playback & movie page
|| /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/.*/.test(location.href)
// anime page
|| /https?:\/\/(www.)?bilibili.com\/anime(\/)?.*/.test(location.href)
// moment page
|| /https?:\/\/t.bilibili.com.*/.test(location.href)
)