diff --git a/web/src/app/home/components/home-sidebar/HomeSidebar.tsx b/web/src/app/home/components/home-sidebar/HomeSidebar.tsx index 9e21dc09c..75da46850 100644 --- a/web/src/app/home/components/home-sidebar/HomeSidebar.tsx +++ b/web/src/app/home/components/home-sidebar/HomeSidebar.tsx @@ -1916,7 +1916,7 @@ export default function HomeSidebar({
- +
{/* Navigation items grouped by section */} diff --git a/web/tests/unit/workspace-switcher-layout.test.mjs b/web/tests/unit/workspace-switcher-layout.test.mjs index d92e52aa0..ee02b3fc7 100644 --- a/web/tests/unit/workspace-switcher-layout.test.mjs +++ b/web/tests/unit/workspace-switcher-layout.test.mjs @@ -94,10 +94,14 @@ test('moves Cloud plan upgrades into Workspace Settings', () => { assert.ok(toolbarEnd < membersHeading && membersHeading < cloudInvite); }); -test('fills 80 percent of the sidebar, centers the trigger, and truncates long names', () => { +test('aligns the workspace trigger with navigation entries on both sides and truncates long names', () => { assert.match( homeSidebarSource, - /]*>[\s\S]*