From 267981735433a2780cbb4575888703f2ecbb0225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Mon, 30 Mar 2026 11:31:59 +0200 Subject: [PATCH] Fix workspace dropdown (#19106) ## Before https://github.com/user-attachments/assets/2ebc682d-f868-4a8b-8a1a-fe304222652e ## After https://github.com/user-attachments/assets/e6fddab2-b5a1-4941-b60f-f45ad2bfaadd --- .../internal/MultiWorkspacesDropdownStyles.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspacesDropdownStyles.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspacesDropdownStyles.tsx index 15107a0c276..6356e1367a0 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspacesDropdownStyles.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspacesDropdownStyles.tsx @@ -8,6 +8,7 @@ export const StyledContainer = styled.div<{ align-items: center; border: 1px solid transparent; border-radius: ${themeCssVariables.border.radius.sm}; + box-sizing: border-box; color: ${themeCssVariables.font.color.primary}; cursor: pointer; display: flex; @@ -16,6 +17,7 @@ export const StyledContainer = styled.div<{ max-width: 100%; min-width: 0; padding: calc(${themeCssVariables.spacing[1]} - 1px); + width: fit-content; &:hover { background-color: ${themeCssVariables.background.transparent.lighter}; border: 1px solid ${themeCssVariables.border.color.medium};