Wrap updater countdown.

This commit is contained in:
Patrick FIc
2025-04-11 09:26:46 -07:00
parent 8c80ee64c5
commit b758e54865

View File

@@ -30,7 +30,7 @@ const UpdateAvailable: React.FC = () => {
}
return (
<Affix offsetTop={40} style={{ position: "absolute", right: 20 }}>
<Card title={t("updates.available")} style={{ width: "33vw" }}>
<Card title={t("updates.available")} style={{ width: "40vw" }}>
{updateProgress === 0 && (
<Button onClick={handleDownload}>{t("updates.download")}</Button>
)}
@@ -40,7 +40,7 @@ const UpdateAvailable: React.FC = () => {
/>
{!isUpdateComplete && formatSpeed(updateSpeed)}
{isUpdateComplete && (
<Space>
<Space wrap>
<Button onClick={handleApply}>{t("updates.apply")}</Button>
<Statistic.Countdown
title="Auto update in:"