about summary refs log tree commit diff
path: root/src/components/Prompt.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-03-12 20:12:45 -0500
committerGitHub <noreply@github.com>2024-03-12 20:12:45 -0500
commit653240bc056236489e8a7882b7b6f902ed0885c2 (patch)
tree956d729f38f23828d65db6454cf08f9067653684 /src/components/Prompt.tsx
parent7af338ed216241b4e12c3282ab5393bc20ad6bec (diff)
downloadvoidsky-653240bc056236489e8a7882b7b6f902ed0885c2.tar.zst
Tweak prompt styles on mobile web (#3193)
Diffstat (limited to 'src/components/Prompt.tsx')
-rw-r--r--src/components/Prompt.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Prompt.tsx b/src/components/Prompt.tsx
index 9ffa9e7d8..1b9348d9c 100644
--- a/src/components/Prompt.tsx
+++ b/src/components/Prompt.tsx
@@ -3,6 +3,7 @@ import {View} from 'react-native'
 import {msg} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
 
+import {isNative} from '#/platform/detection'
 import {useTheme, atoms as a, useBreakpoints} from '#/alf'
 import {Text} from '#/components/Typography'
 import {Button, ButtonColor, ButtonText} from '#/components/Button'
@@ -84,7 +85,8 @@ export function Actions({children}: React.PropsWithChildren<{}>) {
         a.justify_end,
         gtMobile
           ? [a.flex_row, a.flex_row_reverse, a.justify_start]
-          : [a.flex_col, a.pt_md, a.pb_4xl],
+          : [a.flex_col],
+        isNative && [a.pb_4xl],
       ]}>
       {children}
     </View>