diff --git a/app/javascript/mastodon/components/media_gallery.js b/app/javascript/mastodon/components/media_gallery.js index 52b34971b4e..a81409871e7 100644 --- a/app/javascript/mastodon/components/media_gallery.js +++ b/app/javascript/mastodon/components/media_gallery.js @@ -161,10 +161,8 @@ class Item extends React.PureComponent { ); } - const style = standalone ? {} : { left, top, right, bottom, width: `${width}%`, height: `${height}%` }; - return ( -
+
{thumbnail}
);