about summary refs log tree commit diff
path: root/src/components/forms
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-02-03 14:50:21 -0800
committerGitHub <noreply@github.com>2025-02-03 22:50:21 +0000
commit083a5c9667b243bf935f663386041e954d93803d (patch)
treeb37fdb6da8fa59d6dd4c420f69d51426b501b247 /src/components/forms
parent24a4ab2b0f155a385581da4855dae5b8cb63220f (diff)
downloadvoidsky-083a5c9667b243bf935f663386041e954d93803d.tar.zst
Fix slow Hosting Provider dialog (#7594)
* avoid portal perf pitfall

* add dep array
Diffstat (limited to 'src/components/forms')
-rw-r--r--src/components/forms/HostingProvider.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/forms/HostingProvider.tsx b/src/components/forms/HostingProvider.tsx
index 4732434b0..221a759d5 100644
--- a/src/components/forms/HostingProvider.tsx
+++ b/src/components/forms/HostingProvider.tsx
@@ -71,10 +71,10 @@ export function HostingProvider({
             a.flex_row,
             a.align_center,
             a.rounded_sm,
-            a.px_md,
+            a.pl_md,
             a.pr_sm,
             a.gap_xs,
-            {paddingVertical: isAndroid ? 14 : 9},
+            {paddingVertical: isAndroid ? 14 : 8},
           ]}
           onPress={onPressSelectService}>
           {({hovered, pressed}) => {