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()