From 5844871862274db0388cb9a6dc8fe9dbdd410d6d Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Wed, 5 Aug 2020 20:16:07 +0200 Subject: [PATCH] Added max-height to hero image css. --- components/04_Templates/placeOverview/_placeOverview.scss | 2 +- public/components.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/04_Templates/placeOverview/_placeOverview.scss b/components/04_Templates/placeOverview/_placeOverview.scss index 50fa84d..a2e4536 100644 --- a/components/04_Templates/placeOverview/_placeOverview.scss +++ b/components/04_Templates/placeOverview/_placeOverview.scss @@ -3,7 +3,7 @@ .LP-PlaceOveriew__Image{ width: 700px; - height: 700px; + max-height: 500px; box-shadow: 0 0 10px $-grey; object-fit: cover; object-position: 0 0; diff --git a/public/components.css b/public/components.css index 40083a6..a42fcfa 100644 --- a/public/components.css +++ b/public/components.css @@ -473,7 +473,7 @@ body { .LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image { width: 700px; - height: 700px; + max-height: 500px; box-shadow: 0 0 10px #565656; object-fit: cover; object-position: 0 0;