diff --git a/app/assets/javascripts/components/components/media_gallery.jsx b/app/assets/javascripts/components/components/media_gallery.jsx index eb2288ae5..b9ec30940 100644 --- a/app/assets/javascripts/components/components/media_gallery.jsx +++ b/app/assets/javascripts/components/components/media_gallery.jsx @@ -14,23 +14,18 @@ const MediaGallery = React.createClass({ var size = children.size; children = children.map((attachment, i) => { - let width = 142; - let height = 110; - let marginRight = 0; + let width = 50; + let height = 100; if (size == 4 || (size === 3 && i > 0)) { - height = 52.5; + height = 50; } - if ((size === 3 && i === 0) || (size === 4 && i % 2 === 0)) { - marginRight = 5; - } - - return ; + return ; }); return ( -
+
{children}
);