From b2a3f0d168988ede5c6cf0c3f0d49f72c8ba26f1 Mon Sep 17 00:00:00 2001 From: atavism Date: Wed, 6 Mar 2024 12:07:13 -0800 Subject: [PATCH] increase content padding on account text input fields --- lib/account/device_linking/authorize_device_via_email.dart | 4 ++++ lib/account/report_issue.dart | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/account/device_linking/authorize_device_via_email.dart b/lib/account/device_linking/authorize_device_via_email.dart index b65d494e5..d202b1b46 100644 --- a/lib/account/device_linking/authorize_device_via_email.dart +++ b/lib/account/device_linking/authorize_device_via_email.dart @@ -31,6 +31,10 @@ class AuthorizeDeviceViaEmail extends StatelessWidget { controller: emailController, autovalidateMode: AutovalidateMode.disabled, //TODO: this throws an error when we set it to AutovalidateMode.onUserInteraction + contentPadding: const EdgeInsetsDirectional.only( + top: 8.0, + bottom: 8.0, + ), label: 'Email'.i18n, helperText: 'auth_email_helper_text'.i18n, keyboardType: TextInputType.emailAddress, diff --git a/lib/account/report_issue.dart b/lib/account/report_issue.dart index cf465ffa8..6b2f5f8b6 100644 --- a/lib/account/report_issue.dart +++ b/lib/account/report_issue.dart @@ -88,6 +88,10 @@ class _ReportIssueState extends State { initialValue: emailAddress, controller: emailController, autovalidateMode: AutovalidateMode.disabled, + contentPadding: const EdgeInsetsDirectional.only( + top: 8.0, + bottom: 8.0, + ), label: 'email'.i18n, onChanged: (value) { setState(() {});