From 42d54dc9ea8c6e73008c4400a2d154f0e6bdd384 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 18 Apr 2017 01:57:50 +0200 Subject: [PATCH] Adjust visuals of non-autoplaying GIFV --- .../components/components/media_gallery.jsx | 34 +++++++++---------- .../features/account/components/header.jsx | 7 ++-- app/assets/stylesheets/components.scss | 31 +++++++++++++++++ .../settings/preferences_controller.rb | 4 +-- 4 files changed, 52 insertions(+), 24 deletions(-) diff --git a/app/assets/javascripts/components/components/media_gallery.jsx b/app/assets/javascripts/components/components/media_gallery.jsx index c6c726a4e..f334af9cf 100644 --- a/app/assets/javascripts/components/components/media_gallery.jsx +++ b/app/assets/javascripts/components/components/media_gallery.jsx @@ -159,24 +159,22 @@ const Item = React.createClass({ /> ); } else if (attachment.get('type') === 'gifv') { - if (isIOS() || !this.props.autoPlayGif) { - return ( -
-
-
- ); - } else { - thumbnail = ( -