diff --git a/frontend/src/views/apps/GalleryApp.vue b/frontend/src/views/apps/GalleryApp.vue index 13039aa..bd32bc0 100644 --- a/frontend/src/views/apps/GalleryApp.vue +++ b/frontend/src/views/apps/GalleryApp.vue @@ -25,6 +25,11 @@ const developmentGalleryState = isDevelopment ? new URLSearchParams(window.location.search).get('galleryMock') : null const pageSize = 36 +const filterItems = [ + { id: 'all', label: 'all' }, + { id: 'photo', label: 'photos' }, + { id: 'video', label: 'videos' }, +] as const const phone = usePhoneStore() const media = ref([]) const filter = ref('all') @@ -46,6 +51,9 @@ const deleteButtonColors = { fillTextIos: 'text-white', fillTextMaterial: 'text-white', } +const filterBarColors = { + strongHighlightBgIos: 'bg-[#e5e5ea] dark:bg-[#2c2c2e]', +} const deleting = ref(false) const toastOpened = ref(false) const toastText = ref('') @@ -316,79 +324,77 @@ onBeforeUnmount(() => { + + + + + - - - - {{ loadError }} - - - { color: #8e8e93; font-size: 12px; } -.gallery-filter { - width: calc(100% - 24px); - margin: 0 12px 8px; +.gallery-page { + display: flex; + flex-direction: column; + overflow: hidden; +} +.gallery-content { + min-height: 0; + flex: 1; + overflow-y: auto; } .gallery-grid { display: grid;