Merge pull request #1702 from xegim/ui_padding_fix

fix: Consistent element padding between server picker and login view
pull/1733/head
Krille-chan 4 months ago committed by GitHub
commit c4fb6e4886
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -55,7 +55,7 @@ class LoginView extends StatelessWidget {
),
const SizedBox(height: 16),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
padding: const EdgeInsets.symmetric(horizontal: 24.0),
child: TextField(
readOnly: controller.loading,
autocorrect: false,
@ -77,7 +77,7 @@ class LoginView extends StatelessWidget {
),
const SizedBox(height: 16),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
padding: const EdgeInsets.symmetric(horizontal: 24.0),
child: TextField(
readOnly: controller.loading,
autocorrect: false,
@ -107,7 +107,7 @@ class LoginView extends StatelessWidget {
),
const SizedBox(height: 16),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
padding: const EdgeInsets.symmetric(horizontal: 24.0),
child: ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: theme.colorScheme.primary,
@ -121,7 +121,7 @@ class LoginView extends StatelessWidget {
),
const SizedBox(height: 16),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
padding: const EdgeInsets.symmetric(horizontal: 24.0),
child: TextButton(
onPressed: controller.loading
? () {}

Loading…
Cancel
Save