From 488d773f0024bc01ee795e82d2ac7f5895d01243 Mon Sep 17 00:00:00 2001 From: reverend Date: Sat, 1 Aug 2020 10:27:50 +0200 Subject: [PATCH] Adjusted Image fit --- .../02_Molecules/placeTeaser/_placeTeaser.scss | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/components/02_Molecules/placeTeaser/_placeTeaser.scss b/components/02_Molecules/placeTeaser/_placeTeaser.scss index b600085..7f9844a 100644 --- a/components/02_Molecules/placeTeaser/_placeTeaser.scss +++ b/components/02_Molecules/placeTeaser/_placeTeaser.scss @@ -2,8 +2,15 @@ width: 280px; .LP-Place__Image{ - height: 165px; - object-fit: fill; + height: 165px; + width: 280px; + overflow: hidden; + + .LP-Image{ + max-width:unset; + max-height:unset; + object-fit: cover; + } } .LP-Place__Meta{ @@ -22,7 +29,7 @@ .LP-Headline{ font-family: $-primary-sans-serif-font; - color: $-secondary-color; + color: $-grey; font-size: 1rem; padding: 0px; margin: 0px; @@ -31,7 +38,7 @@ .LP-Place__Description{ font-family: $-primary-sans-serif-accent-font; - color: $-secondary-color; + color: $-grey; display: none; }