diff --git a/app/javascript/mastodon/components/media_gallery.js b/app/javascript/mastodon/components/media_gallery.js index 52b34971b4..a81409871e 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}
);