FIX: Vertically center youtube thumbnails in lazy-videos (#20914)

This commit is contained in:
Jan Cernik 2023-03-31 09:41:58 -03:00 committed by GitHub
parent 0162f0ccb0
commit af98df8cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@
object-fit: cover; object-fit: cover;
width: 100%; width: 100%;
pointer-events: none; pointer-events: none;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-height: 100%;
} }
&:hover, &:hover,