FIX: Vertically center youtube thumbnails in lazy-videos (#20914)
This commit is contained in:
parent
0162f0ccb0
commit
af98df8cb9
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue