mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FIX: Vertically center youtube thumbnails in lazy-videos (#20914)
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user