Refactor Send Invitation button to use fixed width for better layout consistency

This commit is contained in:
Leon Bösche
2026-01-24 04:38:43 +01:00
parent 5cf3b1d997
commit be09b5830e

View File

@@ -584,7 +584,9 @@ class _OrganizationSettingsDialogState
),
),
const SizedBox(height: 16),
ModernGlassButton(
SizedBox(
width: 120,
child: ModernGlassButton(
onPressed: () {
if (_canManage) {
final username = usernameController.text.trim();
@@ -604,6 +606,7 @@ class _OrganizationSettingsDialogState
},
child: const Text('Send Invitation'),
),
),
],
);
}