mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
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;
|
||||
width: 100%;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
|
Loading…
Reference in New Issue
Block a user