Skip to content

Commit a6bc9d1

Browse files
authored
Fix: Align send button with chat TextInput default text (Closes #320) (#323)
1 parent e0bad01 commit a6bc9d1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

client/app/components/chat/ChatScreenFooter.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export const ChatScreenFooter: React.FC<ChatInputProps> = ({
5151
const styles = StyleSheet.create({
5252
container: {
5353
flexDirection: "row",
54-
flex: 1,
5554
alignItems: "center",
5655
borderColor: "#8E8E8E",
5756
borderWidth: 1,
@@ -81,12 +80,10 @@ const styles = StyleSheet.create({
8180
alignSelf: "stretch",
8281
},
8382
sendButtonContainer: {
84-
alignItems: "flex-end",
83+
alignItems: "center",
8584
justifyContent: "flex-end",
8685
flexDirection: "row",
8786
alignSelf: "stretch",
8887
marginRight: Dimensions.get("window").width * 0.01,
89-
marginBottom: Dimensions.get("window").width * 0.01,
90-
marginTop: Dimensions.get("window").width * 0.01,
9188
},
9289
});

0 commit comments

Comments
 (0)