diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-06-19 23:42:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 01:42:12 +0300 |
commit | 5c31859f7bb753b07752e2b8faf2248561c46c54 (patch) | |
tree | 0bedf48d7be534d1d7966f3162a8b591ff0839fb /src/components/forms | |
parent | 73fc0094dd5e7056d2612965f81648b9ffe423d0 (diff) | |
download | voidsky-5c31859f7bb753b07752e2b8faf2248561c46c54.tar.zst |
fix for autofill covering border (#4573)
Diffstat (limited to 'src/components/forms')
-rw-r--r-- | src/components/forms/TextField.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/forms/TextField.tsx b/src/components/forms/TextField.tsx index 73a660ea6..f7a827b49 100644 --- a/src/components/forms/TextField.tsx +++ b/src/components/forms/TextField.tsx @@ -196,6 +196,13 @@ export function createInput(Component: typeof TextInput) { textAlignVertical: rest.multiline ? 'top' : undefined, minHeight: rest.multiline ? 80 : undefined, }, + // fix for autofill styles covering border + web({ + paddingTop: 12, + paddingBottom: 12, + marginTop: 2, + marginBottom: 2, + }), android({ paddingBottom: 16, }), |