about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-03-27 10:44:12 -0500
committerDavid Yip <yipdw@member.fsf.org>2018-03-27 10:44:12 -0500
commitd2cdc2b5a37f9c9d56242e3540ff62cccff4b1ae (patch)
tree7a18011a34ee3f2c87c826797bf0443c5765d99e /app/javascript/styles
parent49c957bc3bf186b7e560d09d605f24693338c5db (diff)
parent3523aa440ba3f52bf28fe1e9707506d327c4431f (diff)
Merge remote-tracking branch 'origin/master' into gs-master
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss17
1 files changed, 15 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 48c39136f..042a84742 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -3436,6 +3436,19 @@ a.status-card {
   width: 100%;
   height: 100%;
   position: relative;
+
+  .extended-video-player {
+    width: 100%;
+    height: 100%;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+
+    video {
+      max-width: $media-modal-media-max-width;
+      max-height: $media-modal-media-max-height;
+    }
+  }
 }
 
 .media-modal__closer {
@@ -4411,8 +4424,8 @@ a.status-card {
   border-radius: 4px;
 
   video {
-    height: 100%;
-    width: 100%;
+    max-width: 100vw;
+    max-height: 80vh;
     z-index: 1;
   }