File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ const ImageContainer = styled.TouchableOpacity`
5555` ;
5656
5757const HeaderContainer = styled . View `
58- flex: 1;
5958 flex-direction: row;
6059 justify-content: flex-end;
6160 z-index: 1000;
Original file line number Diff line number Diff line change @@ -37,8 +37,10 @@ const Container = styled.View`
3737 border-radius: 10px;
3838 flex-direction: column;
3939 margin-horizontal: 10px;
40- padding-top: ${ ( { padding, theme } ) =>
41- padding ? theme . messageInput . container . conditionalPadding : 0 } px;
40+ padding-top: ${ ( { imageUploads, theme } ) =>
41+ imageUploads && imageUploads . length
42+ ? theme . messageInput . container . conditionalPadding
43+ : 0 } px;
4244 ${ ( { theme } ) => theme . messageInput . container . css } ;
4345` ;
4446
@@ -340,7 +342,7 @@ const MessageInput = (props) => {
340342 }
341343
342344 return (
343- < Container padding = { imageUploads && imageUploads . length > 0 } >
345+ < Container imageUploads = { imageUploads } >
344346 { fileUploads && (
345347 < FileUploadPreview
346348 AttachmentFileIcon = { AttachmentFileIcon }
You can’t perform that action at this time.
0 commit comments