fix(#131): aligner la gélule de statut sur l'en-tête parent.
Le titre, le sélecteur de statut et le bouton fermer partagent le même padding : la gélule n'est plus collée au bord supérieur de la modale. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
ce474797c4
commit
2fd97ddecb
@ -472,12 +472,12 @@ class _AdminParentEditModalState extends State<AdminParentEditModal> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Padding(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
padding: const EdgeInsets.fromLTRB(18, 16, 4, 10),
|
||||||
children: [
|
child: Row(
|
||||||
Expanded(
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
child: Padding(
|
children: [
|
||||||
padding: const EdgeInsets.fromLTRB(18, 16, 12, 10),
|
Expanded(
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
@ -501,15 +501,20 @@ class _AdminParentEditModalState extends State<AdminParentEditModal> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
const SizedBox(width: 12),
|
||||||
SizedBox(width: 160, child: _statusDropdown()),
|
SizedBox(width: 160, child: _statusDropdown()),
|
||||||
const SizedBox(width: 4),
|
IconButton(
|
||||||
IconButton(
|
padding: EdgeInsets.zero,
|
||||||
icon: const Icon(Icons.close),
|
constraints: const BoxConstraints(
|
||||||
onPressed: () => Navigator.of(context).pop(),
|
minWidth: 40,
|
||||||
tooltip: 'Fermer',
|
minHeight: 40,
|
||||||
),
|
),
|
||||||
],
|
icon: const Icon(Icons.close),
|
||||||
|
onPressed: () => Navigator.of(context).pop(),
|
||||||
|
tooltip: 'Fermer',
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const Divider(height: 1),
|
const Divider(height: 1),
|
||||||
Padding(
|
Padding(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user