fix: timer font style

closes #94
This commit is contained in:
2023-11-14 12:42:40 +00:00
parent dff9aaddaf
commit 9e3b2c1ee7
2 changed files with 7 additions and 1 deletions

View File

@ -28,5 +28,7 @@ export function StreamTimer({ ev }: { ev?: NostrEvent }) {
return () => clearInterval(t); return () => clearInterval(t);
}, []); }, []);
return time; return <span className="tnum">
{time}
</span>;
} }

View File

@ -168,6 +168,10 @@ header .profile img {
cursor: pointer; cursor: pointer;
} }
.tnum {
font-feature-settings: "tnum";
}
.fi { .fi {
background-position: 50%; background-position: 50%;
background-repeat: no-repeat; background-repeat: no-repeat;