Skip to content

Commit

Permalink
fix: login side padding
Browse files Browse the repository at this point in the history
Fixes the cramped feeling on the page change.
  • Loading branch information
edeuss committed Sep 26, 2024
1 parent d1845a3 commit cbc6f04
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/components/LoginScreen/login_authentication_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class _LoginAuthenticationPageState extends State<LoginAuthenticationPage> {
Widget build(BuildContext context) {
return Scaffold(
body: SingleChildScrollView(
padding: const EdgeInsets.symmetric(horizontal: 32.0),
child: Center(
child: Column(
children: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class _LoginServerSelectionPageState extends State<LoginServerSelectionPage> {
Widget build(BuildContext context) {
return Scaffold(
body: SingleChildScrollView(
padding: const EdgeInsets.symmetric(horizontal: 32.0),
child: Center(
child: Column(
children: [
Expand Down
1 change: 1 addition & 0 deletions lib/components/LoginScreen/login_splash_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class LoginSplashPage extends StatelessWidget {
Widget build(BuildContext context) {
return Scaffold(
body: SingleChildScrollView(
padding: const EdgeInsets.symmetric(horizontal: 32.0),
child: Center(
child: Column(
children: [
Expand Down
1 change: 1 addition & 0 deletions lib/components/LoginScreen/login_user_selection_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class _LoginUserSelectionPageState extends State<LoginUserSelectionPage> {

return Scaffold(
body: SingleChildScrollView(
padding: const EdgeInsets.symmetric(horizontal: 32.0),
child: Center(
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
Expand Down
5 changes: 1 addition & 4 deletions lib/screens/login_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ class LoginScreen extends StatelessWidget {
),
child: const Scaffold(
body: SafeArea(
child: Padding(
padding: EdgeInsets.symmetric(horizontal: 32.0),
child: LoginFlow(),
),
child: LoginFlow(),
),
bottomNavigationBar: _LoginAuxillaryOptions(),
),
Expand Down

0 comments on commit cbc6f04

Please sign in to comment.