fix: empty glass header on large screens

This commit is contained in:
patak 2023-04-30 21:46:07 +02:00
parent d4e0d5c5f5
commit f3e1b6db67

View file

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