Skip to content

Commit

Permalink
Changed margins for android devices and centered text input
Browse files Browse the repository at this point in the history
  • Loading branch information
dyland88 committed Feb 28, 2024
1 parent 4f0e6ed commit b7ffcc0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/src/components/Common/ChatMessageFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,24 @@ const styles = StyleSheet.create({
borderWidth: 1,
borderRadius: Dimensions.get('window').width * 0.058,
marginHorizontal: Dimensions.get('window').width * 0.005,
marginBottom: Platform.OS === 'ios' ? 0 : 5,
minHeight: Dimensions.get('window').width * 0.113,
maxHeight: Dimensions.get('window').width * 0.3,
},
messageInput: {
fontSize: 16,
flex: 1,
marginBottom: Platform.OS === 'ios' ? 2 : 0,
marginBottom: Platform.OS === 'ios' ? 5 : 4,
marginTop: Platform.OS === 'ios' ? 2 : 4,
marginHorizontal: Dimensions.get('window').width * 0.018,


},
icons: {
marginHorizontal: Dimensions.get('window').width * 0.008,
},
iconContainer: {
marginLeft: Dimensions.get('window').width * 0.02,
marginRight: Dimensions.get('window').width * 0.009,
marginBottom: Dimensions.get('window').width * 0.025,
marginTop: Dimensions.get('window').width * 0.025,
flexDirection: 'row',
Expand Down

0 comments on commit b7ffcc0

Please sign in to comment.