Tweak button & dialog paddings (#90)
This commit is contained in:
parent
6df6184960
commit
c8ee38b321
5 changed files with 7 additions and 7 deletions
|
|
@ -64,6 +64,7 @@ class BlockButton extends StatelessWidget {
|
|||
final isBlocked = authStore.user.blockedUsers.where((blockedUser) => blockedUser.userId == targetUserId).isNotEmpty;
|
||||
|
||||
return Button(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 15.0, vertical: 10.0),
|
||||
icon: const Icon(Icons.block),
|
||||
color: Colors.red,
|
||||
fill: true,
|
||||
|
|
|
|||
|
|
@ -16,13 +16,9 @@ class FrostyDialog extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return AlertDialog(
|
||||
titlePadding: const EdgeInsets.all(30.0),
|
||||
titlePadding: const EdgeInsets.fromLTRB(30.0, 30.0, 30.0, 20.0),
|
||||
contentPadding: const EdgeInsets.fromLTRB(30.0, 0.0, 30.0, 30.0),
|
||||
shape: RoundedRectangleBorder(
|
||||
side: BorderSide(
|
||||
color: Colors.deepPurpleAccent.withOpacity(0.3),
|
||||
width: 3.0,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(20.0),
|
||||
),
|
||||
title: Text(
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ class ReportButton extends StatelessWidget {
|
|||
},
|
||||
),
|
||||
),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 15.0, vertical: 10.0),
|
||||
color: Colors.red,
|
||||
fill: true,
|
||||
child: Text('Report $displayName'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue