about summary refs log tree commit diff
path: root/src/components/forms
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2025-04-02 08:00:14 +0900
committerGitHub <noreply@github.com>2025-04-01 16:00:14 -0700
commit8dfdee80bb35fc60ce8b4b78be92bdca3dbb78d0 (patch)
treee697aed335fe859e796be9a175b2ff14d250219e /src/components/forms
parentdf9909baa353c8576aadca77e12e3251c0bfc604 (diff)
downloadvoidsky-8dfdee80bb35fc60ce8b4b78be92bdca3dbb78d0.tar.zst
Reapply "Modify hosting provider text for better localization" (#7928)
* Update HostingProvider.tsx

* Update src/components/forms/HostingProvider.tsx

---------

Co-authored-by: Hailey <hailey@blueskyweb.xyz>
Diffstat (limited to 'src/components/forms')
-rw-r--r--src/components/forms/HostingProvider.tsx36
1 files changed, 17 insertions, 19 deletions
diff --git a/src/components/forms/HostingProvider.tsx b/src/components/forms/HostingProvider.tsx
index 2fb138d00..ca5660f87 100644
--- a/src/components/forms/HostingProvider.tsx
+++ b/src/components/forms/HostingProvider.tsx
@@ -41,27 +41,25 @@ export function HostingProvider({
         onSelect={onSelectServiceUrl}
       />
       {minimal ? (
-        <View style={[a.flex_row, a.align_center, a.flex_wrap, a.gap_xs]}>
+        <View style={[a.flex_row, a.align_center, a.flex_wrap]}>
           <Text style={[a.text_sm, t.atoms.text_contrast_medium]}>
-            <Trans>You are creating an account on</Trans>
+            <Trans>
+              You are creating an account on{' '}
+              <Button
+                label={toNiceDomain(serviceUrl)}
+                accessibilityHint={_(msg`Changes hosting provider`)}
+                onPress={onPressSelectService}
+                variant="ghost"
+                color="secondary"
+                size="tiny"
+                style={[a.px_xs, {margin: tokens.space.xs * -1}]}>
+                <ButtonText style={[a.text_sm]}>
+                  {toNiceDomain(serviceUrl)}
+                </ButtonText>
+                <ButtonIcon icon={PencilIcon} />
+              </Button>
+            </Trans>
           </Text>
-          <Button
-            label={toNiceDomain(serviceUrl)}
-            accessibilityHint={_(msg`Changes hosting provider`)}
-            onPress={onPressSelectService}
-            variant="ghost"
-            color="secondary"
-            size="tiny"
-            style={[
-              a.px_xs,
-              {marginHorizontal: tokens.space.xs * -1},
-              {paddingVertical: 0},
-            ]}>
-            <ButtonText style={[a.text_sm]}>
-              {toNiceDomain(serviceUrl)}
-            </ButtonText>
-            <ButtonIcon icon={PencilIcon} />
-          </Button>
         </View>
       ) : (
         <Button