forked from cybrespace/mastodon
The combination of object-fit, relative position 50% from top and translating it back upwards 50% is what allows us to crop the video properly, so it needs to be +50%-50%
This commit is contained in:
parent
0e20de9f89
commit
3fa8512474
|
@ -3395,7 +3395,7 @@ button.icon-button.active i.fa-retweet {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-35%);
|
transform: translateY(-50%);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue