Merge pull request #2591 from janhq/main

use `tabular-nums` for percentages in ModelCancelDownload (#2553)
This commit is contained in:
Louis 2024-04-03 10:59:58 +07:00 committed by GitHub
commit 3b755f7e8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,9 @@ const ModalCancelDownload: React.FC<Props> = ({ model, isFromList }) => {
}) as number
}
/>
<span>{formatDownloadPercentage(downloadState.percent)}</span>
<span className="tabular-nums">
{formatDownloadPercentage(downloadState.percent)}
</span>
</div>
</Button>
)}