Updated MediaGallery reduced item to be min 250px in height

• Updated:
- MediaGallery reduced item to be min 250px in height for quote posts or replies
This commit is contained in:
mgabdev 2020-08-31 19:51:54 -05:00
parent 5010b8ed41
commit f7fdcc6cb8
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class MediaGallery extends React.PureComponent {
const { visible } = this.state
let width = this.state.width || defaultWidth
if (reduced) width = width / 2
if (reduced) width = Math.max(width / 2, 250)
const style = {}
const size = media.take(4).size