authorgravatar for 118054752+extoci@users.noreply.github.comExotic <118054752+extoci@users.noreply.github.com> 2026-09-08 01:20:27+03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-07 15:20:27-07:00
log5ec6f77ec0acc6a1fc9e9be5e1126a5199e9efe7
tree4e5452b4d24613520f0732b29cff9a85a35334cc
parentc8ec7df12415140c6413372f53e3be4fe2e959f8
signature Signed by PGP key B5690EEEBB952194

fix(web): use `tabular-nums` with the ui font for sidebar timer (#10592)


1 files changed, 1 insertions(+), 5 deletions(-)

apps/web/src/components/Sidebar.tsx+1-5
...@@ -281,11 +281,7 @@ function WorkingDuration(props: { startedAt: string | null }) {...@@ -281,11 +281,7 @@ function WorkingDuration(props: { startedAt: string | null }) {
281 return () => window.clearInterval(id);281 return () => window.clearInterval(id);
282 }, [startedMs]);282 }, [startedMs]);
283 if (Number.isNaN(startedMs)) return null;283 if (Number.isNaN(startedMs)) return null;
284 return (284 return <span className="tabular-nums">{formatWorkingDurationLabel(Date.now() - startedMs)}</span>;
285 <span className="font-mono tabular-nums">
286 {formatWorkingDurationLabel(Date.now() - startedMs)}
287 </span>
288 );
289}285}
290286
291const EMPTY_PROVIDER_ENTRIES: ReadonlyMap<string, ProviderInstanceEntry> = new Map();287const EMPTY_PROVIDER_ENTRIES: ReadonlyMap<string, ProviderInstanceEntry> = new Map();