diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-06-25 01:33:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 01:33:01 +0200 |
commit | 662a49dc3f06749936cedd7349092bbe622f0bc6 (patch) | |
tree | e70453a48a765854ca0510412ab48accd0d13e6d /app/javascript/styles/mastodon/basics.scss | |
parent | e9ff61ca0704d9570950875e1b72556c4114424f (diff) |
Fix various issues around OpenGraph representation of media (#14133)
- Fix audio attachments not being represented in OpenGraph tags - Fix audio being represented as "1 image" in OpenGraph descriptions - Fix video metadata being overwritten by paperclip-av-transcoder - Fix embedded player not using Mastodon's UI - Fix audio/video progress bars not moving smoothly - Fix audio/video buffered bars not displaying correctly
Diffstat (limited to 'app/javascript/styles/mastodon/basics.scss')
-rw-r--r-- | app/javascript/styles/mastodon/basics.scss | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/basics.scss b/app/javascript/styles/mastodon/basics.scss index a5dbe75fb..9e63b1d31 100644 --- a/app/javascript/styles/mastodon/basics.scss +++ b/app/javascript/styles/mastodon/basics.scss @@ -68,7 +68,32 @@ body { } &.player { - text-align: center; + padding: 0; + margin: 0; + position: absolute; + width: 100%; + height: 100%; + overflow: hidden; + + & > div { + height: 100%; + } + + .video-player video { + width: 100%; + height: 100%; + max-height: 100vh; + } + + .media-gallery { + margin-top: 0; + height: 100% !important; + border-radius: 0; + } + + .media-gallery__item { + border-radius: 0; + } } &.embed { |