diff --git a/assets/intro.md b/assets/intro.md index 5bf322d3..f46ac0fd 100644 --- a/assets/intro.md +++ b/assets/intro.md @@ -1,3 +1,7 @@ +#br +#br +#br + # Welcome to API Dash ⚡️ #br diff --git a/lib/consts.dart b/lib/consts.dart index 4a0bc0fe..c3c0a12c 100644 --- a/lib/consts.dart +++ b/lib/consts.dart @@ -58,14 +58,12 @@ const kP10 = EdgeInsets.all(10); const kPt24o8 = EdgeInsets.only(top: 24, left: 8.0, right: 8.0, bottom: 8.0); const kPt5o10 = EdgeInsets.only(left: 10.0, right: 10.0, top: 5.0, bottom: 10.0); -const kPh20v40 = EdgeInsets.symmetric( - horizontal: 20, - vertical: 40, -); -const kPh60v40 = EdgeInsets.symmetric( - horizontal: 60, - vertical: 40, +const kPh20t40 = EdgeInsets.only( + left: 20, + right: 20, + top: 40, ); +const kPh60 = EdgeInsets.symmetric(horizontal: 60); const kHSpacer5 = SizedBox(width: 5); const kHSpacer10 = SizedBox(width: 10); diff --git a/lib/screens/intro_page.dart b/lib/screens/intro_page.dart index 8ce475d9..3d0dd905 100644 --- a/lib/screens/intro_page.dart +++ b/lib/screens/intro_page.dart @@ -13,7 +13,7 @@ class _IntroPageState extends State { @override Widget build(BuildContext context) { return const Padding( - padding: kPh60v40, + padding: kPh60, child: IntroMessage(), ); } diff --git a/lib/screens/settings_page.dart b/lib/screens/settings_page.dart index 98f7520f..bc4e22f8 100644 --- a/lib/screens/settings_page.dart +++ b/lib/screens/settings_page.dart @@ -23,7 +23,7 @@ class _SettingsPageState extends ConsumerState { Container( constraints: const BoxConstraints(maxWidth: 800), child: ListView( - padding: kPh20v40, + padding: kPh20t40, shrinkWrap: true, children: [ Text("Settings",