diff options
Diffstat (limited to 'app/assets/javascripts/components/components/media_gallery.jsx')
-rw-r--r-- | app/assets/javascripts/components/components/media_gallery.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/components/media_gallery.jsx b/app/assets/javascripts/components/components/media_gallery.jsx index 20f9a3d87..432de9074 100644 --- a/app/assets/javascripts/components/components/media_gallery.jsx +++ b/app/assets/javascripts/components/components/media_gallery.jsx @@ -22,6 +22,10 @@ const MediaGallery = React.createClass({ let bottom = 'auto'; let right = 'auto'; + if (size === 1) { + width = 100; + } + if (size === 4 || (size === 3 && i > 0)) { height = 50; } |