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,7 +133,8 @@ class _PaymentMethodPageState extends State<PaymentMethodPage> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (widget.souscription.organisationNom != null)
|
if (widget.souscription.organisationNom != null)
|
||||||
Column(
|
Flexible(
|
||||||
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.end,
|
crossAxisAlignment: CrossAxisAlignment.end,
|
||||||
children: [
|
children: [
|
||||||
Text('Organisation',
|
Text('Organisation',
|
||||||
@@ -142,9 +143,13 @@ class _PaymentMethodPageState extends State<PaymentMethodPage> {
|
|||||||
widget.souscription.organisationNom!,
|
widget.souscription.organisationNom!,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: textPrimary, fontSize: 12, fontWeight: FontWeight.w600),
|
color: textPrimary, fontSize: 12, fontWeight: FontWeight.w600),
|
||||||
|
maxLines: 1,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
textAlign: TextAlign.end,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user