mirror of
https://github.com/foss42/apidash.git
synced 2025-05-29 04:50:36 +08:00
Improve padding
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
#br
|
||||
#br
|
||||
#br
|
||||
|
||||
# Welcome to API Dash ⚡️
|
||||
|
||||
#br
|
||||
|
@ -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);
|
||||
|
@ -13,7 +13,7 @@ class _IntroPageState extends State<IntroPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const Padding(
|
||||
padding: kPh60v40,
|
||||
padding: kPh60,
|
||||
child: IntroMessage(),
|
||||
);
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ class _SettingsPageState extends ConsumerState<SettingsPage> {
|
||||
Container(
|
||||
constraints: const BoxConstraints(maxWidth: 800),
|
||||
child: ListView(
|
||||
padding: kPh20v40,
|
||||
padding: kPh20t40,
|
||||
shrinkWrap: true,
|
||||
children: [
|
||||
Text("Settings",
|
||||
|
Reference in New Issue
Block a user