mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Fix padding of bottom buttons on home page (#201)
This commit is contained in:
@@ -316,7 +316,7 @@ class SettingsAttribution extends StatelessWidget {
|
|||||||
return MergeSemantics(
|
return MergeSemantics(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: EdgeInsetsDirectional.only(
|
padding: EdgeInsetsDirectional.only(
|
||||||
start: isDesktop ? 48 : 32,
|
start: isDesktop ? 24 : 32,
|
||||||
end: isDesktop ? 0 : 32,
|
end: isDesktop ? 0 : 32,
|
||||||
top: verticalPadding,
|
top: verticalPadding,
|
||||||
bottom: verticalPadding,
|
bottom: verticalPadding,
|
||||||
@@ -350,9 +350,8 @@ class _SettingsLink extends StatelessWidget {
|
|||||||
return InkWell(
|
return InkWell(
|
||||||
onTap: onTap,
|
onTap: onTap,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: EdgeInsetsDirectional.only(
|
padding: EdgeInsets.symmetric(
|
||||||
start: isDesktop ? 48 : 32,
|
horizontal: isDesktop ? 24 : 32,
|
||||||
end: isDesktop ? 0 : 32,
|
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
|||||||
Reference in New Issue
Block a user