From debc3f4b5462358eaeecade90a4f26a9271c0ef7 Mon Sep 17 00:00:00 2001 From: reverend Date: Wed, 10 Mar 2021 00:56:57 +0100 Subject: [PATCH] Small fixes --- components/02_ContentShape/focalPoint/_focalPoint.styl | 1 + components/02_ContentShape/truncation/_truncation.styl | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/02_ContentShape/focalPoint/_focalPoint.styl b/components/02_ContentShape/focalPoint/_focalPoint.styl index 4abeb68..a6c8f30 100644 --- a/components/02_ContentShape/focalPoint/_focalPoint.styl +++ b/components/02_ContentShape/focalPoint/_focalPoint.styl @@ -40,6 +40,7 @@ RV-FocalPoint(focalX=50%, focalY=50%) height 100% width 100% + display block object-fit cover object-position --focalX --focalY diff --git a/components/02_ContentShape/truncation/_truncation.styl b/components/02_ContentShape/truncation/_truncation.styl index 6fc1859..b0a8dfc 100644 --- a/components/02_ContentShape/truncation/_truncation.styl +++ b/components/02_ContentShape/truncation/_truncation.styl @@ -56,8 +56,8 @@ RV-Truncation(line-height=1.3em, height=100%, background-color=white) display grid align-content flex-start - height --height grid-template-rows repeat(auto-fill, --line-height) + height --height height calc_height(--height) width calc_width() @@ -69,7 +69,6 @@ RV-Truncation(line-height=1.3em, height=100%, background-color=white) grid-row 1/-1 background --background-color line-height --line-height - z-index -10 +RV-Block('RV-Truncation') RV-Truncation()