diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-03-13 17:44:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 08:44:14 -0700 |
commit | c7ba0e4f663afded992c767dc97b8ec08edefec5 (patch) | |
tree | abf0998189646ea718773070205d25f4c658136f | |
parent | 4b94a8a8f296d2519977d3ad90d4270595706a32 (diff) | |
download | voidsky-c7ba0e4f663afded992c767dc97b8ec08edefec5.tar.zst |
fix newskie dialog width (#7949)
-rw-r--r-- | src/components/NewskieDialog.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |