From 4cd05b2b3ea030014883dea822d31c4fabed9ced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Mon, 6 Jul 2026 12:17:30 +0200 Subject: [PATCH] Reverse pinned command menu item order on record header (#22577) ## Before CleanShot 2026-07-06 at 12 10 42@2x ## After CleanShot 2026-07-06 at 12 10 17@2x Pinned command menu items in the record page header rendered left-to-right by position, putting the first item on the left. They should read the other way: first item on the right, last on the left. Fixed with `flex-direction: row-reverse` on the items container so the reversal is purely visual. The DOM/source order stays in position order, so the responsive overflow logic still keeps the highest-priority items visible and keyboard/screen-reader order is unaffected. Review in cubic --- .../display/components/PinnedCommandMenuItemButtons.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/twenty-front/src/modules/command-menu-item/display/components/PinnedCommandMenuItemButtons.tsx b/packages/twenty-front/src/modules/command-menu-item/display/components/PinnedCommandMenuItemButtons.tsx index 96880bd043..4169c65e96 100644 --- a/packages/twenty-front/src/modules/command-menu-item/display/components/PinnedCommandMenuItemButtons.tsx +++ b/packages/twenty-front/src/modules/command-menu-item/display/components/PinnedCommandMenuItemButtons.tsx @@ -31,6 +31,7 @@ const StyledContainer = styled.div` const StyledItemsContainer = styled.div` display: flex; + flex-direction: row-reverse; gap: ${PINNED_COMMAND_MENU_ITEMS_GAP}px; max-width: 100%; overflow: hidden;