From 97996d0b71f3300ed12cc6ad6693d3a0a2457cf0 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Sat, 12 Jan 2019 20:08:07 +0000 Subject: [PATCH] thumbnails centered on large screens --- components/GalleryFeatured.vue | 12 ++++--- components/GalleryImageViewer.vue | 54 +++++++++++++++++++++++++++---- components/GalleryPage.vue | 1 + components/GalleryThumbs.vue | 53 ++++++++++++++++++------------ 4 files changed, 88 insertions(+), 32 deletions(-) diff --git a/components/GalleryFeatured.vue b/components/GalleryFeatured.vue index fbd0e21..0f9b7f9 100644 --- a/components/GalleryFeatured.vue +++ b/components/GalleryFeatured.vue @@ -42,6 +42,7 @@ export default { width: 100%; background-size: cover; background-position: center center; + overflow: hidden; } @media (max-width: $bp__layout) { @@ -73,11 +74,12 @@ export default { @media (min-width: $bp__layout) { .gallery-featured { transition: opacity .3s; // TEMP - opacity: .3; - - &:hover { - opacity: 1; - } + padding: 8px; + /* opacity: .3; */ + /* */ + /* &:hover { */ + /* opacity: 1; */ + /* } */ } } diff --git a/components/GalleryImageViewer.vue b/components/GalleryImageViewer.vue index e56de83..c0663f2 100644 --- a/components/GalleryImageViewer.vue +++ b/components/GalleryImageViewer.vue @@ -1,7 +1,9 @@