Skip to content

A platform for community discussion. Free, open, simple.

FIX: Too much blank padding in video oneboxes

Kris6c9af6d81e6d
diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss
index 0ec4d3446b5..4abaa8d21ac 100644
--- a/app/assets/stylesheets/desktop/topic-post.scss
+++ b/app/assets/stylesheets/desktop/topic-post.scss
@@ -495,6 +495,14 @@ video {
max-height: 500px;
}
+.video {
+ // Height determined by aspect-ratio
+ max-height: 500px;
+ > video {
+ max-height: unset;
+ }
+}
+
@-webkit-keyframes fadein {
from {
opacity: 0;