diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index 72e29397986..368c7cf9c76 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -290,7 +290,12 @@ aside.onebox { } } - .instagram-video-icon { + .image-wrapper { + display: block; + position: relative; + } + + .video-icon { &:before { opacity: 0.8; // ideally, the SVG used here should be in HTML and reference the SVG sprite diff --git a/lib/onebox/engine/google_photos_onebox.rb b/lib/onebox/engine/google_photos_onebox.rb index 3a07b7df699..6c930ce59cc 100644 --- a/lib/onebox/engine/google_photos_onebox.rb +++ b/lib/onebox/engine/google_photos_onebox.rb @@ -31,9 +31,9 @@ module Onebox

#{og.title}

- + - +
diff --git a/lib/onebox/engine/reddit_media_onebox.rb b/lib/onebox/engine/reddit_media_onebox.rb index c9d6cdcbff4..d479a6b6496 100644 --- a/lib/onebox/engine/reddit_media_onebox.rb +++ b/lib/onebox/engine/reddit_media_onebox.rb @@ -25,7 +25,7 @@ module Onebox HTML - elsif raw[:type] =~ /^video[\/\.]/ + elsif raw[:type] =~ /^video[\/\.]/ <<-HTML