From 2340a6ac79ae282648233a3273955c17f24ba543 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Thu, 17 Jan 2019 11:42:41 +0000 Subject: [PATCH] update: responsive featured images --- assets/scss/_globals.scss | 5 ++++- components/GalleryFeatured.vue | 27 ++++----------------------- components/GalleryImageViewer.vue | 6 +++++- components/GalleryPage.vue | 7 +++++-- 4 files changed, 18 insertions(+), 27 deletions(-) diff --git a/assets/scss/_globals.scss b/assets/scss/_globals.scss index 834bf36..d3b2b0a 100644 --- a/assets/scss/_globals.scss +++ b/assets/scss/_globals.scss @@ -7,7 +7,7 @@ $bp__m: 40em; $bp__layout: 40em; // gallery ui becomes more compact -$bp__gallery-compact: 60em; +$bp__gallery-compact: 75em; $z-index__page: 50; $z-index__page-overlay: 75; @@ -16,3 +16,6 @@ $z-index__menu: 100; $site-menu__width: 25rem; $site-menu__header-width: 3rem; $site-menu__header-height: 3rem; + +$gallery-featured-width: 20rem; +$gallery-featured-width--compact: 12rem; diff --git a/components/GalleryFeatured.vue b/components/GalleryFeatured.vue index 0f9b7f9..3b75e2f 100644 --- a/components/GalleryFeatured.vue +++ b/components/GalleryFeatured.vue @@ -2,8 +2,7 @@