From dad591c3a95ecbc6b131b22a4ac9f06ad89bbaf2 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Wed, 25 Aug 2021 21:19:33 +0300 Subject: [PATCH] >10x badge count smaller font size Closes #636 --- components/u/BadgeContainer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/u/BadgeContainer.tsx b/components/u/BadgeContainer.tsx index 540d5afe2..c9a864447 100644 --- a/components/u/BadgeContainer.tsx +++ b/components/u/BadgeContainer.tsx @@ -77,7 +77,7 @@ const BadgeContainer = ({ style={{ marginTop: -58, marginLeft: 40, - fontSize: "0.7rem", + fontSize: badge.count > 9 ? "0.5rem" : "0.7rem", fontWeight: "bold", color: CSSVariables.themeColor, }}