From bac32e62b5432bf5fc5adac59536c62dd043b6fd Mon Sep 17 00:00:00 2001 From: Riyadh Date: Wed, 29 Apr 2026 19:13:34 +0000 Subject: [PATCH] Improve top bar layout and icon sizes for larger screens Update `home.tsx` to make the top bar larger on medium screens and above, increasing icon sizes and padding for better usability on tablets and desktops. --- artifacts/tx-os/src/pages/home.tsx | 51 +++++++++++++++++++----------- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/artifacts/tx-os/src/pages/home.tsx b/artifacts/tx-os/src/pages/home.tsx index 43881f33..e6e24457 100644 --- a/artifacts/tx-os/src/pages/home.tsx +++ b/artifacts/tx-os/src/pages/home.tsx @@ -437,24 +437,34 @@ export default function HomePage() { return (
- {/* Status Bar */} -
+ {/* + Status Bar + -------------------------------------------------------------- + Sizing scales by device class so the bar feels natural at each + size — phones stay compact (the original design), iPad gets a + noticeably taller bar with bigger tap targets so it doesn't + look lost on a larger screen, and desktop matches iPad. We + switch at the `md:` breakpoint (≥768px), which is the standard + iPad-portrait threshold; mobile (<768px) renders identically + to before this change. + */} +
{/* Identity */} -
-
+
+
{initials}
-
{displayName}
+
{displayName}
{isAdmin && ( -
Admin
+
Admin
)}
{/* Clock + dates */} {topbarClockVisible && ( -
+
)} - {/* Controls */} -
+ {/* + Controls — buttons grow on iPad+ via padding + icon size. + Lucide icons size via `width`/`height` SVG attrs; we drop the + numeric `size` prop and use Tailwind classes so the icon + itself can scale at the `md:` breakpoint. + */} +
- + {canReceiveOrders && ( )}