fix: empty glass header on large screens

zio/stable
patak 2023-04-30 21:46:07 +02:00
parent d4e0d5c5f5
commit f3e1b6db67
1 changed files with 2 additions and 1 deletions

View File

@ -53,11 +53,12 @@ const containerClass = computed(() => {
</div>
</div>
<slot name="header">
<div hidden :class="{ 'xl:block': $route.name !== 'tag' }" h-6 />
<div hidden />
</slot>
</div>
<PwaInstallPrompt lg:hidden />
<div :class="isHydrated && wideLayout ? 'xl:w-full sm:max-w-600px' : 'sm:max-w-600px md:shrink-0'" m-auto>
<div hidden :class="{ 'xl:block': $route.name !== 'tag' && !$slots.header }" h-6 />
<slot />
</div>
</div>