response-timer: use tabular-nums for uniform width (#3800)

This commit is contained in:
Florian Hämmerle authored and GitHub committed 2021-07-09 17:03:11 -07:00
1 parent bbadeac090
commit 92e0970281
1 file changed
+1 -1
@@ -32,7 +32,7 @@ export const ResponseTimer: FunctionComponent<Props> = ({ handleCancel, loadStar
const seconds = milliseconds / 1000;
return (
<div className="overlay theme--transparent-overlay">
<h2>
<h2 style={{ fontVariantNumeric: 'tabular-nums' }}>
{seconds >= REQUEST_TIME_TO_SHOW_COUNTER ? `${seconds.toFixed(1)} seconds` : 'Loading'}...
</h2>
<div className="pad">