From d184f7a24bfc1b75c0c4d64701dff6cfc78e514f Mon Sep 17 00:00:00 2001
From: Jake Jia <87770044+Phoen1xCode@users.noreply.github.com>
Date: Thu, 23 Oct 2025 23:58:03 +0800
Subject: [PATCH] fix: align S3 backup manager action buttons horizontally
(#10922)
---
.../src/components/S3BackupManager.tsx | 40 ++++++++++---------
1 file changed, 22 insertions(+), 18 deletions(-)
diff --git a/src/renderer/src/components/S3BackupManager.tsx b/src/renderer/src/components/S3BackupManager.tsx
index 4327a6c217..63b80f0d57 100644
--- a/src/renderer/src/components/S3BackupManager.tsx
+++ b/src/renderer/src/components/S3BackupManager.tsx
@@ -2,7 +2,7 @@ import { DeleteOutlined, ExclamationCircleOutlined, ReloadOutlined } from '@ant-
import { restoreFromS3 } from '@renderer/services/BackupService'
import type { S3Config } from '@renderer/types'
import { formatFileSize } from '@renderer/utils'
-import { Button, Modal, Table, Tooltip } from 'antd'
+import { Button, Modal, Space, Table, Tooltip } from 'antd'
import dayjs from 'dayjs'
import { useCallback, useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next'
@@ -253,6 +253,26 @@ export function S3BackupManager({ visible, onClose, s3Config, restoreMethod }: S
}
}
+ const footerContent = (
+