From d96fc36ded8a7829f681cc596b86f92c70f45e9c Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Thu, 10 Jan 2019 14:44:28 +0000 Subject: [PATCH] gallery thumb background images implemented --- components/GalleryPage.vue | 4 ++++ components/GalleryThumbs.vue | 9 +++++++++ pages/galleries.vue | 6 +++--- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/components/GalleryPage.vue b/components/GalleryPage.vue index 406bc14..84e881f 100644 --- a/components/GalleryPage.vue +++ b/components/GalleryPage.vue @@ -57,6 +57,10 @@ export default { } }, + mounted () { + window.addEventListener('resize', () => { this.imageViewerIsVisible = false }) + }, + methods: { handleFeaturedClick (index) { this.activeRow = index diff --git a/components/GalleryThumbs.vue b/components/GalleryThumbs.vue index eed6b6b..cd4780b 100644 --- a/components/GalleryThumbs.vue +++ b/components/GalleryThumbs.vue @@ -19,6 +19,7 @@