Skip to content

Commit da99a3a

Browse files
committed
feat: make the progress bar smoother
1 parent b84d5fb commit da99a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/page-typing-test/lib/components/TestProgress.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const TestProgress0 = memo(function TestProgress({
1616
<Para className={styles.root}>
1717
<div
1818
className={styles.bar}
19-
style={{ inlineSize: `${Math.floor(progress * 100)}%` }}
19+
style={{ inlineSize: `${progress * 100}%` }}
2020
/>
2121
<div className={styles.info}>
2222
<Value value={formatDuration(time, { showMillis: true })} />

0 commit comments

Comments
 (0)