mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
fix(ui): Filled button overflow
This commit is contained in:
parent
e3e5570e4e
commit
e26b6a23b2
|
@ -39,8 +39,14 @@ class BrandButton {
|
|||
onPressed: onPressed,
|
||||
style: ElevatedButton.styleFrom(
|
||||
tapTargetSize: MaterialTapTargetSize.padded,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16.0),
|
||||
),
|
||||
child: child ?? Text(text ?? ''),
|
||||
child: child ??
|
||||
Text(
|
||||
text ?? '',
|
||||
textAlign: TextAlign.center,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue