1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-07-01 12:06:49 +01: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 />