From c3d54c5d4423d4d0a45c63e9f2cecc8b7188e49d Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Tue, 13 Oct 2026 13:14:08 -0400 Subject: [PATCH] Atlas: keep the Heard by toggle one width so flipping never wraps the header --- src/features/atlas/AtlasCard.tsx | 15 +++++++++++++-- tests/features/atlas/AtlasCard.test.tsx | 4 ++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/features/atlas/AtlasCard.tsx b/src/features/atlas/AtlasCard.tsx index 0e2f58e..c244c7a 100644 --- a/src/features/atlas/AtlasCard.tsx +++ b/src/features/atlas/AtlasCard.tsx @@ -100,16 +100,27 @@ export function AtlasCard({ ); + // Both toggle labels share one grid cell so the button is as wide as the longer one in either + // state; otherwise flipping could push the actions under the title and grow the card. + const labels = [t("atlas.heardBy"), t("tabs.Analytics")]; const actions = (