Fix weird button wrapping on splash (#5507)
* Fix weird button wrapping on splash * Web
This commit is contained in:
@@ -39,21 +39,21 @@ export const SplashScreen = ({
|
|||||||
<Trans>What's up?</Trans>
|
<Trans>What's up?</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
<View testID="signinOrCreateAccount">
|
<View
|
||||||
|
testID="signinOrCreateAccount"
|
||||||
|
style={[a.px_xl, a.gap_md, a.pb_2xl]}>
|
||||||
<Button
|
<Button
|
||||||
testID="createAccountButton"
|
testID="createAccountButton"
|
||||||
onPress={onPressCreateAccount}
|
onPress={onPressCreateAccount}
|
||||||
accessibilityRole="button"
|
|
||||||
label={_(msg`Create new account`)}
|
label={_(msg`Create new account`)}
|
||||||
accessibilityHint={_(
|
accessibilityHint={_(
|
||||||
msg`Opens flow to create a new Bluesky account`,
|
msg`Opens flow to create a new Bluesky account`,
|
||||||
)}
|
)}
|
||||||
style={[a.mx_xl, a.mb_xl]}
|
|
||||||
size="large"
|
size="large"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="primary">
|
color="primary">
|
||||||
<ButtonText>
|
<ButtonText>
|
||||||
<Trans>Create a new account</Trans>
|
<Trans>Create account</Trans>
|
||||||
</ButtonText>
|
</ButtonText>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
@@ -63,7 +63,6 @@ export const SplashScreen = ({
|
|||||||
accessibilityHint={_(
|
accessibilityHint={_(
|
||||||
msg`Opens flow to sign into your existing Bluesky account`,
|
msg`Opens flow to sign into your existing Bluesky account`,
|
||||||
)}
|
)}
|
||||||
style={[a.mx_xl, a.mb_xl]}
|
|
||||||
size="large"
|
size="large"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary">
|
color="secondary">
|
||||||
|
|||||||
@@ -85,21 +85,19 @@ export const SplashScreen = ({
|
|||||||
|
|
||||||
<View
|
<View
|
||||||
testID="signinOrCreateAccount"
|
testID="signinOrCreateAccount"
|
||||||
style={[a.w_full, {maxWidth: 320}]}>
|
style={[a.w_full, a.px_xl, a.gap_md, a.pb_2xl, {maxWidth: 320}]}>
|
||||||
<Button
|
<Button
|
||||||
testID="createAccountButton"
|
testID="createAccountButton"
|
||||||
onPress={onPressCreateAccount}
|
onPress={onPressCreateAccount}
|
||||||
accessibilityRole="button"
|
|
||||||
label={_(msg`Create new account`)}
|
label={_(msg`Create new account`)}
|
||||||
accessibilityHint={_(
|
accessibilityHint={_(
|
||||||
msg`Opens flow to create a new Bluesky account`,
|
msg`Opens flow to create a new Bluesky account`,
|
||||||
)}
|
)}
|
||||||
style={[a.mx_xl, a.mb_xl]}
|
|
||||||
size="large"
|
size="large"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="primary">
|
color="primary">
|
||||||
<ButtonText>
|
<ButtonText>
|
||||||
<Trans>Create a new account</Trans>
|
<Trans>Create account</Trans>
|
||||||
</ButtonText>
|
</ButtonText>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
@@ -109,7 +107,6 @@ export const SplashScreen = ({
|
|||||||
accessibilityHint={_(
|
accessibilityHint={_(
|
||||||
msg`Opens flow to sign into your existing Bluesky account`,
|
msg`Opens flow to sign into your existing Bluesky account`,
|
||||||
)}
|
)}
|
||||||
style={[a.mx_xl, a.mb_xl]}
|
|
||||||
size="large"
|
size="large"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary">
|
color="secondary">
|
||||||
|
|||||||
Reference in New Issue
Block a user