Wrap updater countdown.
This commit is contained in:
@@ -30,7 +30,7 @@ const UpdateAvailable: React.FC = () => {
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Affix offsetTop={40} style={{ position: "absolute", right: 20 }}>
|
<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 && (
|
{updateProgress === 0 && (
|
||||||
<Button onClick={handleDownload}>{t("updates.download")}</Button>
|
<Button onClick={handleDownload}>{t("updates.download")}</Button>
|
||||||
)}
|
)}
|
||||||
@@ -40,7 +40,7 @@ const UpdateAvailable: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
{!isUpdateComplete && formatSpeed(updateSpeed)}
|
{!isUpdateComplete && formatSpeed(updateSpeed)}
|
||||||
{isUpdateComplete && (
|
{isUpdateComplete && (
|
||||||
<Space>
|
<Space wrap>
|
||||||
<Button onClick={handleApply}>{t("updates.apply")}</Button>
|
<Button onClick={handleApply}>{t("updates.apply")}</Button>
|
||||||
<Statistic.Countdown
|
<Statistic.Countdown
|
||||||
title="Auto update in:"
|
title="Auto update in:"
|
||||||
|
|||||||
Reference in New Issue
Block a user