1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 14:28:10 +09:00

fix(ui): hidden pwa badge and install prompt (#2127)

This commit is contained in:
Joaquín Sánchez 2023-05-26 15:25:11 +02:00 committed by GitHub
parent 4a167c5bf5
commit ad0725e9ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ const containerClass = computed(() => {
</div>
<div flex items-center flex-shrink-0 gap-x-2>
<slot name="actions" />
<PwaBadge lg:hidden />
<PwaBadge xl:hidden />
<NavUser v-if="isHydrated" />
<NavUserSkeleton v-else />
</div>
@ -56,7 +56,7 @@ const containerClass = computed(() => {
<div hidden />
</slot>
</div>
<PwaInstallPrompt lg:hidden />
<PwaInstallPrompt xl: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 />