more alignment in footer

This commit is contained in:
Hailey
2024-06-14 14:10:59 -07:00
parent 8cc87160ab
commit 7ec4abe829
+5 -9
View File
@@ -656,26 +656,22 @@ function Footer({
variant="ghost" variant="ghost"
color="primary" color="primary"
size="small" size="small"
style={{width: 50}} style={{width: 70}}
onPress={editDialogControl.open}> onPress={editDialogControl.open}>
<ButtonText> <ButtonText>
<Trans>Edit</Trans> <Trans>Edit</Trans>
</ButtonText> </ButtonText>
</Button> </Button>
) : ( ) : (
<View style={{width: 50}} /> <View style={{width: 70, height: 35}} />
)} )}
{state.currentStep === 'Profiles' && items.length < 8 ? ( {state.currentStep === 'Profiles' && items.length < 8 ? (
<> <>
<Text <Text
style={[a.font_bold, textStyles, t.atoms.text_contrast_medium]}> style={[a.font_bold, textStyles, t.atoms.text_contrast_medium]}>
<Trans> <Trans>Add {8 - items.length} more to continue</Trans>
Add {8 - items.length} more{' '}
<Plural value={8 - items.length} one="person" other="people" />{' '}
to continue
</Trans>
</Text> </Text>
<View style={{width: 50}} /> <View style={{width: 70}} />
</> </>
) : ( ) : (
<Button <Button
@@ -683,7 +679,7 @@ function Footer({
variant="solid" variant="solid"
color="primary" color="primary"
size="small" size="small"
style={{width: 50}} style={{width: 70}}
onPress={onNext} onPress={onNext}
disabled={!state.canNext}> disabled={!state.canNext}>
<ButtonText>{nextBtnText}</ButtonText> <ButtonText>{nextBtnText}</ButtonText>