mod: 个人中心样式移除padding

This commit is contained in:
orz12
2024-08-18 17:11:03 +08:00
parent db703907f5
commit 63c1cc6d56

View File

@@ -234,7 +234,6 @@ class ProfilePanel extends StatelessWidget {
}); });
}, },
style: TextButton.styleFrom( style: TextButton.styleFrom(
padding: const EdgeInsets.only(left: 80, right: 80),
foregroundColor: foregroundColor:
Theme.of(context).colorScheme.onPrimary, Theme.of(context).colorScheme.onPrimary,
backgroundColor: Theme.of(context).colorScheme.primary, backgroundColor: Theme.of(context).colorScheme.primary,
@@ -246,7 +245,6 @@ class ProfilePanel extends StatelessWidget {
TextButton( TextButton(
onPressed: () {}, onPressed: () {},
style: TextButton.styleFrom( style: TextButton.styleFrom(
padding: const EdgeInsets.only(left: 80, right: 80),
foregroundColor: Theme.of(context).colorScheme.outline, foregroundColor: Theme.of(context).colorScheme.outline,
backgroundColor: backgroundColor:
Theme.of(context).colorScheme.onInverseSurface, Theme.of(context).colorScheme.onInverseSurface,