Viewer: Fix responsive and positioning

This commit is contained in:
2020-04-08 19:31:24 +02:00
parent 240c92c6f6
commit e0abb558d8
6 changed files with 136 additions and 102 deletions

View File

@@ -10,7 +10,8 @@
// Fields
const fields = [
'id', 'name', 'slug', 'date', 'image.private_hash',
'location.id', 'location.name', 'location.slug', 'location.country.name', 'location.country.slug'
'location.id', 'location.name', 'location.slug',
'location.country.name', 'location.country.slug'
]
const req = await this.fetch(`${apiEndpoints.rest}/items/photos?fields=${fields.join()}&filter[location.slug][rlike]=%${page.params.place}%`)
const photos = await req.json()