Make this visually better
This commit is contained in:
@@ -659,14 +659,13 @@ export default function RootLayout ({
|
|||||||
</span>
|
</span>
|
||||||
) : (
|
) : (
|
||||||
<div className='flex flex-col gap-1 w-full'>
|
<div className='flex flex-col gap-1 w-full'>
|
||||||
<span>
|
<span className='text-center'>
|
||||||
Downloading: {Math.floor(v.progress)}%
|
Downloaded{' '}
|
||||||
of (
|
|
||||||
{prettyBytes(v.progressBytes, {
|
{prettyBytes(v.progressBytes, {
|
||||||
minimumFractionDigits: 1,
|
minimumFractionDigits: 1,
|
||||||
maximumFractionDigits: 1
|
maximumFractionDigits: 1
|
||||||
})}
|
})}{' '}
|
||||||
/
|
of{' '}
|
||||||
{prettyBytes(
|
{prettyBytes(
|
||||||
getVersionInfo(v.version)?.size ??
|
getVersionInfo(v.version)?.size ??
|
||||||
0,
|
0,
|
||||||
@@ -674,8 +673,8 @@ export default function RootLayout ({
|
|||||||
minimumFractionDigits: 1,
|
minimumFractionDigits: 1,
|
||||||
maximumFractionDigits: 1
|
maximumFractionDigits: 1
|
||||||
}
|
}
|
||||||
)}
|
)}{' '}
|
||||||
)
|
({Math.floor(v.progress)}%)
|
||||||
</span>
|
</span>
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
progress={v.progress}
|
progress={v.progress}
|
||||||
|
|||||||
Reference in New Issue
Block a user