Small fixes

This commit is contained in:
reverend 2021-03-10 00:56:57 +01:00
parent 640b45ad02
commit debc3f4b54
2 changed files with 2 additions and 2 deletions

View File

@ -40,6 +40,7 @@ RV-FocalPoint(focalX=50%, focalY=50%)
height 100% height 100%
width 100% width 100%
display block
object-fit cover object-fit cover
object-position --focalX --focalY object-position --focalX --focalY

View File

@ -56,8 +56,8 @@ RV-Truncation(line-height=1.3em, height=100%, background-color=white)
display grid display grid
align-content flex-start align-content flex-start
height --height
grid-template-rows repeat(auto-fill, --line-height) grid-template-rows repeat(auto-fill, --line-height)
height --height
height calc_height(--height) height calc_height(--height)
width calc_width() width calc_width()
@ -69,7 +69,6 @@ RV-Truncation(line-height=1.3em, height=100%, background-color=white)
grid-row 1/-1 grid-row 1/-1
background --background-color background --background-color
line-height --line-height line-height --line-height
z-index -10
+RV-Block('RV-Truncation') +RV-Block('RV-Truncation')
RV-Truncation() RV-Truncation()