Make this visually better

This commit is contained in:
2025-11-05 12:07:29 -07:00
parent 6677e22ab6
commit 1dfeb0be93

View File

@@ -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}