From c41fa938ff4aa9c20f91d4a02b4b43709468e420 Mon Sep 17 00:00:00 2001 From: npeter83 Date: Tue, 16 Jun 2026 02:57:53 +0200 Subject: [PATCH] feat(card): exact view count on hover (disambiguate 9B vs 98) The abbreviated count (e.g. '9B' for ~9 billion) can read like '98' since the B glyph resembles an 8. Add a title tooltip with the full localized count on the views label. --- frontend/src/components/VideoCard.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/VideoCard.tsx b/frontend/src/components/VideoCard.tsx index 597470c..05b5861 100644 --- a/frontend/src/components/VideoCard.tsx +++ b/frontend/src/components/VideoCard.tsx @@ -233,7 +233,10 @@ function VideoCard({ <> {video.view_count != null && ( <> - {formatViews(video.view_count)} {t("card.views")} ·{" "} + + {formatViews(video.view_count)} {t("card.views")} + {" "} + ·{" "} )} {relativeTime(video.published_at)}