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: update class syntax for improved readability

Timothy Yinf765490610d6
diff --git a/app/components/photo/InfoPanel.vue b/app/components/photo/InfoPanel.vue
index 3ea72a30..a11d9de5 100644
--- a/app/components/photo/InfoPanel.vue
+++ b/app/components/photo/InfoPanel.vue
@@ -483,7 +483,7 @@ const onAlbumClick = (albumId: number) => {
}"
>
<div
- class="flex items-center justify-between px-4 py-3 border-b border-white/10 flex-shrink-0"
+ class="flex items-center justify-between px-4 py-3 border-b border-white/10 shrink-0"
>
<h3 class="font-black text-white text-ellipsis line-clamp-1">
{{ currentPhoto.title }}
diff --git a/app/components/photo/ReactionConfetti.vue b/app/components/photo/ReactionConfetti.vue
index de0089d8..b597f8c0 100644
--- a/app/components/photo/ReactionConfetti.vue
+++ b/app/components/photo/ReactionConfetti.vue
@@ -59,7 +59,7 @@ const getParticlePosition = (angle: number, distance: number) => {
<template>
<div
- class="absolute inset-0 pointer-events-none overflow-visible flex items-center justify-center z-[9999]"
+ class="absolute inset-0 pointer-events-none overflow-visible flex items-center justify-center z-9999"
>
<motion.div
v-for="particle in particles"
@@ -83,7 +83,7 @@ const getParticlePosition = (angle: number, distance: number) => {
ease: [0.25, 0.46, 0.45, 0.94],
},
}"
- class="absolute z-[9999]"
+ class="absolute z-9999"
style="transform-origin: center"
>
<Icon
diff --git a/app/pages/dashboard/photos.vue b/app/pages/dashboard/photos.vue
index 9d13f7e5..952bf062 100644
--- a/app/pages/dashboard/photos.vue
+++ b/app/pages/dashboard/photos.vue
@@ -2460,7 +2460,7 @@ onUnmounted(() => {
>
<div
v-if="selectedRowsCount > 0"
- class="fixed bottom-8 left-1/2 -translate-x-1/2 px-2 py-1.5 bg-white/90 dark:bg-neutral-900/90 backdrop-blur-xl shadow-xl rounded-full border border-neutral-200/80 dark:border-neutral-800/80 z-[60] flex items-center gap-3 sm:gap-6 shadow-black/5 dark:shadow-black/20"
+ class="fixed bottom-8 left-1/2 -translate-x-1/2 px-2 py-1.5 bg-white/90 dark:bg-neutral-900/90 backdrop-blur-xl shadow-xl rounded-full border border-neutral-200/80 dark:border-neutral-800/80 z-60 flex items-center gap-3 sm:gap-6 shadow-black/5 dark:shadow-black/20"
>
<div
class="pl-4 pr-1 border-r border-neutral-200 dark:border-neutral-800 min-w-max"