From 3fd1f1b456bacc3da2d38323a16b60345ac7105e Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 5 Sep 2026 12:00:12 +0200 Subject: fix(client): hide the tray button on the narrow layout Same 768px breakpoint the hamburger appears at, where the nav is tightest and the button has least to offer. Belt and braces rather than the only guard: `capabilities.tray` is false without the Electron bridge, so no browser has ever rendered this. What this covers is the app's own window dragged narrow. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01DtfG7z6wHWj8RKHCvxQtY1 --- packages/meshbay-hub/src/meshbay_hub/static/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/meshbay-hub/src/meshbay_hub/static/style.css b/packages/meshbay-hub/src/meshbay_hub/static/style.css index 2770dd7..bc4e093 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/style.css +++ b/packages/meshbay-hub/src/meshbay_hub/static/style.css @@ -2013,6 +2013,11 @@ a.transfer-name { @media (max-width: 768px) { .nav-hamburger { display: flex; } + /* No tray to minimise into on a narrow layout, and the nav has the + hamburger to fit here. The capability already keeps this out of any + browser; this is the app's own window dragged narrow. */ + .nav-tray { display: none; } + .sidebar { position: fixed; left: -240px; -- cgit v1.2.3