mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 个人中心样式移除padding
This commit is contained in:
@@ -234,24 +234,22 @@ 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,
|
||||||
),
|
),
|
||||||
child: const Text('个人中心(web)'),
|
child: const Text(' 个人中心(web) '),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
if (ctr.ownerMid == -1) ...[
|
if (ctr.ownerMid == -1) ...[
|
||||||
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,
|
||||||
),
|
),
|
||||||
child: const Text('未登录'),
|
child: const Text(' 未登录 '),
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user