Wrap updater countdown.
This commit is contained in:
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user