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:
parent
5010b8ed41
commit
f7fdcc6cb8
@ -283,7 +283,7 @@ class MediaGallery extends React.PureComponent {
|
|||||||
const { visible } = this.state
|
const { visible } = this.state
|
||||||
|
|
||||||
let width = this.state.width || defaultWidth
|
let width = this.state.width || defaultWidth
|
||||||
if (reduced) width = width / 2
|
if (reduced) width = Math.max(width / 2, 250)
|
||||||
|
|
||||||
const style = {}
|
const style = {}
|
||||||
const size = media.take(4).size
|
const size = media.take(4).size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user