]> cat aescling's git repositories - mastodon.git/commit
Fix video having black border on top due to regression from #2608 (#3392)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 28 May 2017 17:11:47 +0000 (19:11 +0200)
committerGitHub <noreply@github.com>
Sun, 28 May 2017 17:11:47 +0000 (19:11 +0200)
commit3fa8512474137e84cfaf37682e78a84995e5c862
tree506cfa9e96af66d19fbad4d401d494844c014437
parent0e20de9f89336205caa61e8624cb2acb741697cc
Fix video having black border on top due to regression from #2608 (#3392)

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%
app/javascript/styles/components.scss