fix(payment): overflow 2px sur le nom d'organisation dans la carte montant
Le Column du nom d'organisation n'était pas dans un Flexible — si le nom est long, le Row débordait. Ajout Flexible + maxLines: 1 + ellipsis.
This commit is contained in:
@@ -133,17 +133,22 @@ class _PaymentMethodPageState extends State<PaymentMethodPage> {
|
||||
),
|
||||
),
|
||||
if (widget.souscription.organisationNom != null)
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
children: [
|
||||
Text('Organisation',
|
||||
style: TextStyle(color: textSecondary, fontSize: 11)),
|
||||
Text(
|
||||
widget.souscription.organisationNom!,
|
||||
style: TextStyle(
|
||||
color: textPrimary, fontSize: 12, fontWeight: FontWeight.w600),
|
||||
),
|
||||
],
|
||||
Flexible(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
children: [
|
||||
Text('Organisation',
|
||||
style: TextStyle(color: textSecondary, fontSize: 11)),
|
||||
Text(
|
||||
widget.souscription.organisationNom!,
|
||||
style: TextStyle(
|
||||
color: textPrimary, fontSize: 12, fontWeight: FontWeight.w600),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
textAlign: TextAlign.end,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user