From 48460c6282a3ea49c32fa7f9fa673e548e9fd206 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Mon, 8 Jun 2026 23:16:20 +0330 Subject: [PATCH] Mobile: redesign TopBar profile chip + trim oversized Home actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Profile chip: replace cramped fixed-width (w-[88px]) 3-line stack with a clean 2-line layout (name on top; level · xp-bar · % on a flexing row), capped at max-w-[46%] so it never crowds the icon group or overflows. - Hero "Play online" title text-2xl→text-xl on phones (sm:text-2xl), truncate. Co-Authored-By: Claude Opus 4.8 --- src/components/HomeScreen.tsx | 4 ++-- src/components/online/TopBar.tsx | 26 ++++++++++++++------------ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/components/HomeScreen.tsx b/src/components/HomeScreen.tsx index 7642ce5..11fe9b7 100644 --- a/src/components/HomeScreen.tsx +++ b/src/components/HomeScreen.tsx @@ -112,10 +112,10 @@ export function HomeScreen() { - + {t("menu.online")} - {t("menu.onlineDesc")} + {t("menu.onlineDesc")} diff --git a/src/components/online/TopBar.tsx b/src/components/online/TopBar.tsx index a3dff52..52335f2 100644 --- a/src/components/online/TopBar.tsx +++ b/src/components/online/TopBar.tsx @@ -25,25 +25,27 @@ export function TopBar() {