mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 09:31:13 +00:00
fix(ui): Filled button overflow
This commit is contained in:
parent
e3e5570e4e
commit
e26b6a23b2
|
@ -39,8 +39,14 @@ class BrandButton {
|
||||||
onPressed: onPressed,
|
onPressed: onPressed,
|
||||||
style: ElevatedButton.styleFrom(
|
style: ElevatedButton.styleFrom(
|
||||||
tapTargetSize: MaterialTapTargetSize.padded,
|
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