about summary refs log tree commit diff
path: root/src/components/forms/DateField/index.shared.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-02-21 11:10:51 -0800
committerGitHub <noreply@github.com>2025-02-21 11:10:51 -0800
commite6bfeb1bab1b2d142d256404bb034378567f9c65 (patch)
treec20836b6eff9b0be074dfbf02e4dab22688415f8 /src/components/forms/DateField/index.shared.tsx
parent3b4f1e91e32772b324e49117eac7fbc9d7fcf642 (diff)
downloadvoidsky-e6bfeb1bab1b2d142d256404bb034378567f9c65.tar.zst
Fix android datepicker height (#7804)
* fix datepicker height

* fix suffixtext clipping
Diffstat (limited to 'src/components/forms/DateField/index.shared.tsx')
-rw-r--r--src/components/forms/DateField/index.shared.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/forms/DateField/index.shared.tsx b/src/components/forms/DateField/index.shared.tsx
index 7b03ba901..b0522175c 100644
--- a/src/components/forms/DateField/index.shared.tsx
+++ b/src/components/forms/DateField/index.shared.tsx
@@ -1,7 +1,7 @@
 import {Pressable, View} from 'react-native'
 import {useLingui} from '@lingui/react'
 
-import {android, atoms as a, useTheme, web} from '#/alf'
+import {atoms as a, native, useTheme, web} from '#/alf'
 import * as TextField from '#/components/forms/TextField'
 import {useInteractionState} from '#/components/hooks/useInteractionState'
 import {CalendarDays_Stroke2_Corner0_Rounded as CalendarDays} from '#/components/icons/CalendarDays'
@@ -60,16 +60,16 @@ export function DateFieldButton({
         onBlur={onBlur}
         style={[
           {
-            paddingTop: 12,
-            paddingBottom: 12,
             paddingLeft: 14,
             paddingRight: 14,
             borderColor: 'transparent',
             borderWidth: 2,
           },
-          android({
-            minHeight: 57.5,
+          native({
+            paddingTop: 10,
+            paddingBottom: 10,
           }),
+          web(a.py_md),
           a.flex_row,
           a.flex_1,
           a.w_full,