Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

style(dashboard): minor adjustment

Timothy Yinf286d0cdb0f1
diff --git a/app/components/dashboard/Indicator.vue b/app/components/dashboard/Indicator.vue
index fb976e6d..4114116f 100644
--- a/app/components/dashboard/Indicator.vue
+++ b/app/components/dashboard/Indicator.vue
@@ -87,7 +87,7 @@ const currentScheme = computed(() => colorSchemes[props.color])
</p>
<p
v-if="value"
- class="text-lg font-bold max-w-1/2 truncate"
+ class="text-lg font-bold max-w-full sm:max-w-1/2 truncate"
>
{{ value }}
</p>
diff --git a/app/pages/dashboard/index.vue b/app/pages/dashboard/index.vue
index f7c76f3e..0417748d 100644
--- a/app/pages/dashboard/index.vue
+++ b/app/pages/dashboard/index.vue
@@ -214,7 +214,10 @@ const yearOptions = computed(() => {
{{ $t('dashboard.overview.section.runtimeInfo.lastUpdate') }}
</p>
<p class="text-lg font-bold">
- {{ dayjs().format('LLL') }}
+ <ClientOnly>
+ {{ $dayjs().fromNow() }}
+ <template #placeholder>--</template>
+ </ClientOnly>
</p>
</div>
</div>