From c7ba0e4f663afded992c767dc97b8ec08edefec5 Mon Sep 17 00:00:00 2001
From: Samuel Newman <mozzius@protonmail.com>
Date: Thu, 13 Mar 2025 17:44:14 +0200
Subject: fix newskie dialog width (#7949)

---
 src/components/NewskieDialog.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/NewskieDialog.tsx')

diff --git a/src/components/NewskieDialog.tsx b/src/components/NewskieDialog.tsx
index 6b02f88c6..accf07a98 100644
--- a/src/components/NewskieDialog.tsx
+++ b/src/components/NewskieDialog.tsx
@@ -11,7 +11,7 @@ import {sanitizeDisplayName} from '#/lib/strings/display-names'
 import {isNative} from '#/platform/detection'
 import {useModerationOpts} from '#/state/preferences/moderation-opts'
 import {useSession} from '#/state/session'
-import {atoms as a, useTheme} from '#/alf'
+import {atoms as a, useTheme, web} from '#/alf'
 import {Button, ButtonText} from '#/components/Button'
 import * as Dialog from '#/components/Dialog'
 import {useDialogControl} from '#/components/Dialog'
@@ -81,7 +81,7 @@ export function NewskieDialog({
         <Dialog.Handle />
         <Dialog.ScrollableInner
           label={_(msg`New user info dialog`)}
-          style={[{width: 'auto', maxWidth: 400, minWidth: 200}]}>
+          style={web({width: 'auto', maxWidth: 400, minWidth: 200})}>
           <View style={[a.gap_md]}>
             <View style={[a.align_center]}>
               <View
-- 
cgit 1.4.1

