From 9d44ef80535dd7f8a53e4d033e3dc5c61ccfc92d Mon Sep 17 00:00:00 2001 From: Amit Uttam Date: Tue, 18 Feb 2020 15:48:26 -0300 Subject: [PATCH] MM-22629 Center-align tall & thin image attachments (#3931) Bug reported in community: https://community.mattermost.com/core/pl/yy39ajg1ajfm386dms6tdyjrtw --- .../file_attachment_list/file_attachment_image.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/components/file_attachment_list/file_attachment_image.js b/app/components/file_attachment_list/file_attachment_image.js index 521edef76..89c546459 100644 --- a/app/components/file_attachment_list/file_attachment_image.js +++ b/app/components/file_attachment_list/file_attachment_image.js @@ -186,13 +186,8 @@ const style = StyleSheet.create({ smallImageOverlay: { ...StyleSheet.absoluteFill, justifyContent: 'center', - borderRadius: 4, - }, - loaderContainer: { - position: 'absolute', - height: '100%', - width: '100%', alignItems: 'center', + borderRadius: 4, }, singleSmallImageWrapper: { height: SMALL_IMAGE_MAX_HEIGHT,