From bb7d3b1a2fc7cd05c947ff490388e29ec1b2cc80 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Wed, 5 Aug 2020 20:08:37 +0200 Subject: [PATCH] Limited image in hight dimension to deal with vertical photos. --- components/04_Templates/placeOverview/_placeOverview.scss | 1 + public/components.css | 1 + 2 files changed, 2 insertions(+) diff --git a/components/04_Templates/placeOverview/_placeOverview.scss b/components/04_Templates/placeOverview/_placeOverview.scss index 72209a9..50fa84d 100644 --- a/components/04_Templates/placeOverview/_placeOverview.scss +++ b/components/04_Templates/placeOverview/_placeOverview.scss @@ -3,6 +3,7 @@ .LP-PlaceOveriew__Image{ width: 700px; + height: 700px; box-shadow: 0 0 10px $-grey; object-fit: cover; object-position: 0 0; diff --git a/public/components.css b/public/components.css index fd22b78..40083a6 100644 --- a/public/components.css +++ b/public/components.css @@ -473,6 +473,7 @@ body { .LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image { width: 700px; + height: 700px; box-shadow: 0 0 10px #565656; object-fit: cover; object-position: 0 0;