Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
style: 调整 Masonry 组件的间距设置
HoshinoSuzumi71f864f983e2
diff --git a/.env.example b/.env.exampleindex 5cf045c6..a9ff4443 100644--- a/.env.example+++ b/.env.example@@ -14,5 +14,3 @@ NUXT_CLOUDFLARE_D1_UUID=NUXT_OAUTH_GITHUB_CLIENT_ID=NUXT_OAUTH_GITHUB_CLIENT_SECRET=NUXT_SESSION_PASSWORD=--NUXT_HUB_PROJECT_KEY=diff --git a/app/components/MasonryPhotoItem.vue b/app/components/MasonryPhotoItem.vueindex 8851a533..9b9e85a4 100644--- a/app/components/MasonryPhotoItem.vue+++ b/app/components/MasonryPhotoItem.vue@@ -18,7 +18,7 @@ const emit = defineEmits<{}>()// Constants-const ITEM_GAP = 2+const ITEM_GAP = 4const DEFAULT_WIDTH = 280// Reactive state@@ -186,7 +186,7 @@ onMounted(() => {}"><div- class="relative group overflow-hidden shadow-lg hover:shadow-xl transition-all duration-300"+ class="relative group overflow-hidden transition-all duration-300":style="{ height: `${containerHeight}px` }"><!-- Thumbhash 组件占位符 -->diff --git a/app/components/MasonryRoot.vue b/app/components/MasonryRoot.vueindex 464e6d26..3af1480e 100644--- a/app/components/MasonryRoot.vue+++ b/app/components/MasonryRoot.vue@@ -10,7 +10,7 @@ const props = withDefaults(defineProps<Props>(), {// Constantsconst FIRST_SCREEN_ITEMS_COUNT = 30-const COLUMN_GAP = 2+const COLUMN_GAP = 4const AUTO_COLUMN_WIDTH = 280// Reactive state