From 7596f62ca5bdd3778dd5c58d7a5b2000792c709e Mon Sep 17 00:00:00 2001 From: Prospector <6166773+Prospector@users.noreply.github.com> Date: Tue, 8 Mar 2022 20:43:06 -0800 Subject: [PATCH] Gallery improvements (#404) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Redo gallery controls * Remove old css * Geo's fixes to the gallery * Fix filters not updating when clearing them * Add max width to expanded images * Center text as it gets super long * Object-fit: cover * Fix extra margin 😱 --- components/ui/VersionFilterControl.vue | 1 + pages/_type/_id/gallery.vue | 170 +++++++++++++------------ 2 files changed, 92 insertions(+), 79 deletions(-) diff --git a/components/ui/VersionFilterControl.vue b/components/ui/VersionFilterControl.vue index b141596d6a..e9b0277843 100644 --- a/components/ui/VersionFilterControl.vue +++ b/components/ui/VersionFilterControl.vue @@ -58,6 +58,7 @@ @click=" selectedLoader = getDefaultLoader() selectedGameVersions = [] + updateVersionFilters() " > diff --git a/pages/_type/_id/gallery.vue b/pages/_type/_id/gallery.vue index b02beb71a7..de38ec5aa3 100644 --- a/pages/_type/_id/gallery.vue +++ b/pages/_type/_id/gallery.vue @@ -6,10 +6,6 @@ @click="expandedGalleryItem = null" >
- - -