Skip to content

Commit dbcfc6e

Browse files
committed
fixing style on android welcome button
1 parent eb5f1e5 commit dbcfc6e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

app/client/mobile/src/welcome/Welcome.styled.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,15 @@ export const styles = StyleSheet.create({
7272
gap: 12,
7373
alignItems: 'center',
7474
},
75+
start: {
76+
width: '100%',
77+
display: 'flex',
78+
justifyContent: 'center',
79+
alignItems: 'center',
80+
paddingTop: 24,
81+
},
7582
submit: {
7683
borderRadius: 8,
77-
paddingLeft: 32,
78-
paddingRight: 32,
84+
width: 192,
7985
},
8086
});

app/client/mobile/src/welcome/Welcome.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ export function Welcome({next}: {next: () => void}) {
5353
<Icon size={24} source="message-circle" color={Colors.icon} />
5454
<Text variant="labelLarge">{state.strings.startTopic}</Text>
5555
</View>
56+
</View>
57+
<View style={styles.start}>
5658
<Button mode="contained" textColor="white" style={styles.submit} onPress={next}>
5759
{state.strings.getStarted}
5860
</Button>

0 commit comments

Comments
 (0)