fix button alignment

This commit is contained in:
2025-06-10 16:15:27 +02:00
parent e2573ee635
commit 3538f2454c

View File

@@ -238,6 +238,7 @@ class _PatientDocumentsState extends State<PatientDocuments> {
? EdgeInsets.symmetric(horizontal: width * 0.05)
: const EdgeInsets.symmetric(horizontal: 0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
MihForm(
formKey: _formKey,
@@ -298,7 +299,8 @@ class _PatientDocumentsState extends State<PatientDocuments> {
],
),
const SizedBox(height: 20),
MihButton(
Center(
child: MihButton(
onPressed: () {
if (_formKey.currentState!.validate()) {
submitDocUploadForm();
@@ -322,6 +324,7 @@ class _PatientDocumentsState extends State<PatientDocuments> {
),
),
),
),
],
),
],