Fix hosting position on native

This commit is contained in:
Samuel Newman
2025-03-07 03:22:09 +00:00
parent fd8ac1da7d
commit 0a5312179d
+3 -5
View File
@@ -43,8 +43,8 @@ export function HostingProvider({
{minimal ? ( {minimal ? (
<View style={[a.flex_row, a.align_center, a.flex_wrap]}> <View style={[a.flex_row, a.align_center, a.flex_wrap]}>
<Text style={[a.text_sm, t.atoms.text_contrast_medium]}> <Text style={[a.text_sm, t.atoms.text_contrast_medium]}>
<Trans> <Trans>You are creating an account on</Trans>{' '}
You are creating an account on{' '} </Text>
<Button <Button
label={toNiceDomain(serviceUrl)} label={toNiceDomain(serviceUrl)}
accessibilityHint={_(msg`Changes hosting provider`)} accessibilityHint={_(msg`Changes hosting provider`)}
@@ -52,14 +52,12 @@ export function HostingProvider({
variant="ghost" variant="ghost"
color="secondary" color="secondary"
size="tiny" size="tiny"
style={[a.px_xs, {marginHorizontal: tokens.space.xs * -1}]}> style={[a.px_xs, {marginLeft: tokens.space.xs * -1}]}>
<ButtonText style={[a.text_sm]}> <ButtonText style={[a.text_sm]}>
{toNiceDomain(serviceUrl)} {toNiceDomain(serviceUrl)}
</ButtonText> </ButtonText>
<ButtonIcon icon={PencilIcon} /> <ButtonIcon icon={PencilIcon} />
</Button> </Button>
</Trans>
</Text>
</View> </View>
) : ( ) : (
<Button <Button