chore: adjust top bar height

This commit is contained in:
Hakadao
2024-07-30 12:05:03 +08:00
parent 5e77360a2a
commit 80dd62ae0f
6 changed files with 84 additions and 76 deletions

View File

@@ -314,7 +314,7 @@ provide<BewlyAppProvider>('BEWLY_APP', {
<OverlayScrollbarsComponent ref="scrollbarRef" element="div" h-inherit defer @os-scroll="handleOsScroll">
<main m-auto max-w="$bew-page-max-width">
<div
p="t-80px" m-auto
p="t-[calc(var(--bew-top-bar-height)+10px)]" m-auto
w="lg:85% md:[calc(90%-60px)] [calc(100%-140px)]"
>
<!-- control button group -->

View File

@@ -190,7 +190,7 @@ function toggleTabContentLoading(loading: boolean) {
</Transition>
<header
pos="sticky top-80px" w-full z-9 mb-9 duration-300
pos="sticky top-[calc(var(--bew-top-bar-height)+10px)]" w-full z-9 mb-8 duration-300
ease-in-out flex="~ justify-between items-start gap-4"
:class="{ hide: shouldMoveTabsUp }"
>