@@ -63,14 +63,15 @@ import { AutoCompleteInput } from '../AutoCompleteInput/AutoCompleteInput';
6363import { CreatePoll } from '../Poll/CreatePollContent' ;
6464
6565const styles = StyleSheet . create ( {
66- attachmentPreviewListContainer : { paddingTop : 12 } ,
6766 attachmentSeparator : {
6867 borderBottomWidth : 1 ,
6968 marginBottom : 10 ,
7069 } ,
7170 autoCompleteInputContainer : {
7271 alignItems : 'center' ,
7372 flexDirection : 'row' ,
73+ paddingLeft : 16 ,
74+ paddingRight : 16 ,
7475 } ,
7576 composerContainer : {
7677 alignItems : 'center' ,
@@ -91,7 +92,7 @@ const styles = StyleSheet.create({
9192 optionsContainer : {
9293 flexDirection : 'row' ,
9394 } ,
94- replyContainer : { paddingBottom : 0 , paddingHorizontal : 8 , paddingTop : 8 } ,
95+ replyContainer : { paddingBottom : 12 , paddingHorizontal : 8 } ,
9596 sendButtonContainer : { } ,
9697 suggestionsListContainer : {
9798 position : 'absolute' ,
@@ -230,7 +231,6 @@ const MessageInputWithContext = (props: MessageInputPropsWithContext) => {
230231 theme : {
231232 colors : { border, grey_whisper, white, white_smoke } ,
232233 messageInput : {
233- attachmentPreviewListContainer,
234234 attachmentSelectionBar,
235235 autoCompleteInputContainer,
236236 composerContainer,
@@ -494,6 +494,7 @@ const MessageInputWithContext = (props: MessageInputPropsWithContext) => {
494494 styles . inputBoxContainer ,
495495 {
496496 borderColor : grey_whisper ,
497+ paddingVertical : command ? 8 : 12 ,
497498 } ,
498499 inputBoxContainer ,
499500 isFocused ? focusedInputBoxContainer : null ,
@@ -504,16 +505,7 @@ const MessageInputWithContext = (props: MessageInputPropsWithContext) => {
504505 < Reply />
505506 </ View >
506507 ) }
507- { attachments . length > 0 ? (
508- < View
509- style = { [
510- styles . attachmentPreviewListContainer ,
511- attachmentPreviewListContainer ,
512- ] }
513- >
514- < AttachmentUploadPreviewList />
515- </ View >
516- ) : null }
508+ < AttachmentUploadPreviewList />
517509 { command ? (
518510 < CommandInput disabled = { ! isOnline } />
519511 ) : (
0 commit comments