diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index 4c0a9f357b6..6d4f66d16f3 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -188,7 +188,7 @@ aside.onebox { // full size images for instagram, twitter, etc. .aspect-image-full-size { - max-height: 500px; + max-height: 100%; width: calc(500px * var(--aspect-ratio)); max-width: 100%; @@ -280,6 +280,18 @@ aside.onebox { right: 10px; position: absolute; } + + .reddit-video-icon { + &:before { + opacity: 0.8; + content: svg-uri( + '' + ); + } + bottom: 155px; + right: 50px; + position: absolute; + } } } @@ -663,6 +675,13 @@ aside.onebox.stackexchange .onebox-body { } } +.onebox.reddit { + div.description { + color: dark-light-choose($primary-medium, $secondary-medium); + padding-top: 10px; + } +} + .onebox.githubcommit { pre.message { padding: 0;