Skip to content

Commit 2ca50ba

Browse files
committed
fix(ui): fix app footer layout and build environment on narrow screens
1 parent 704987b commit 2ca50ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/components/AppFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const isHome = computed(() => route.name === 'index')
1111
>
1212
<div>
1313
<p class="font-mono text-balance m-0 hidden sm:block">{{ $t('tagline') }}</p>
14-
<BuildEnvironment v-if="!isHome" footer />
1514
</div>
1615
<!-- Desktop: Show all links. Mobile: Links are in MobileMenu -->
1716
<div class="hidden sm:flex items-center gap-6">
@@ -56,6 +55,7 @@ const isHome = computed(() => route.name === 'index')
5655
</a>
5756
</div>
5857
</div>
58+
<BuildEnvironment v-if="!isHome" footer />
5959
<p class="text-xs text-fg-muted text-center sm:text-start m-0">
6060
<span class="sm:hidden">{{ $t('non_affiliation_disclaimer') }}</span>
6161
<span class="hidden sm:inline">{{ $t('trademark_disclaimer') }}</span>

app/components/BuildEnvironment.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const buildInfo = useAppConfig().buildInfo
1010
<template>
1111
<div
1212
class="font-mono text-xs text-fg-muted flex items-center gap-2 motion-safe:animate-fade-in motion-safe:animate-fill-both"
13-
:class="footer ? 'mt-4 justify-start' : 'mb-8 justify-center'"
13+
:class="footer ? 'my-1 justify-center sm:justify-start' : 'mb-8 justify-center'"
1414
style="animation-delay: 0.05s"
1515
>
1616
<i18n-t keypath="built_at" scope="global">

0 commit comments

Comments
 (0)