From bbb20829b9547b2de6fcf9aa534710e1542fc4e8 Mon Sep 17 00:00:00 2001 From: leok18 <178525594+leok18@users.noreply.github.com> Date: Sun, 14 Sep 2025 14:53:15 -0700 Subject: [PATCH 1/2] improved text field style --- lib/components/TextField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/TextField.tsx b/lib/components/TextField.tsx index c8afa79..9024bc6 100644 --- a/lib/components/TextField.tsx +++ b/lib/components/TextField.tsx @@ -55,6 +55,7 @@ const TextField: ForwardRefRenderFunction = ( : "#252525", borderRadius: 7, paddingVertical: density === "comfortable" ? 10 : 6, + textAlignVertical: "center", paddingHorizontal: density === "comfortable" ? 14 : 10, borderWidth: 2, borderColor: error @@ -64,7 +65,6 @@ const TextField: ForwardRefRenderFunction = ( ? colors.gray.hover : colors.gray.default : "#2F2F2F", - minHeight: density === "comfortable" ? 44 : 33, }} placeholder={placeholder} placeholderTextColor={editable ? "#626262" : "#3D3D3D"} From e598ad37bdb4f4521803cc8e846898ac5ca5d1a3 Mon Sep 17 00:00:00 2001 From: leok18 <178525594+leok18@users.noreply.github.com> Date: Thu, 18 Sep 2025 15:56:58 -0700 Subject: [PATCH 2/2] reorder textfield styles --- lib/components/TextField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/TextField.tsx b/lib/components/TextField.tsx index 9024bc6..7f3de01 100644 --- a/lib/components/TextField.tsx +++ b/lib/components/TextField.tsx @@ -55,9 +55,9 @@ const TextField: ForwardRefRenderFunction = ( : "#252525", borderRadius: 7, paddingVertical: density === "comfortable" ? 10 : 6, - textAlignVertical: "center", paddingHorizontal: density === "comfortable" ? 14 : 10, borderWidth: 2, + textAlignVertical: "center", borderColor: error ? colors.danger.default : editable