about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-05-28 19:11:47 +0200
committerGitHub <noreply@github.com>2017-05-28 19:11:47 +0200
commit3fa8512474137e84cfaf37682e78a84995e5c862 (patch)
tree506cfa9e96af66d19fbad4d401d494844c014437 /app/javascript/styles
parent0e20de9f89336205caa61e8624cb2acb741697cc (diff)
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%
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/components.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index a566e4a3c..4afbd12cf 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -3395,7 +3395,7 @@ button.icon-button.active i.fa-retweet {
   object-fit: cover;
   position: relative;
   top: 50%;
-  transform: translateY(-35%);
+  transform: translateY(-50%);
   width: 100%;
   z-index: 1;
 }