From: David Cho-Lerat Date: Mon, 15 Jul 2024 14:41:35 +0000 (+0200) Subject: SONAR-22453 Use the updated "align" prop for DropdownMenu.Root X-Git-Tag: 10.7.0.96327~358 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=32755c026cd3118ef4bbb5ab01fd71b2a4b88457;p=sonarqube.git SONAR-22453 Use the updated "align" prop for DropdownMenu.Root --- diff --git a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMore.tsx b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMore.tsx index 84de3342ce8..ab4a4150bd4 100644 --- a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMore.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMore.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { DropdownMenu } from '@sonarsource/echoes-react'; +import { DropdownMenu, DropdownMenuAlign } from '@sonarsource/echoes-react'; import { MainMenuItem } from 'design-system'; import * as React from 'react'; import { translate } from '../../../../helpers/l10n'; @@ -43,7 +43,7 @@ function GlobalNavMore({ appState: { globalPages = [] } }: Readonly<{ appState: return ( diff --git a/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx b/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx index e562c6016c7..516b1cca0c7 100644 --- a/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { DropdownMenu } from '@sonarsource/echoes-react'; +import { DropdownMenu, DropdownMenuAlign } from '@sonarsource/echoes-react'; import { LightLabel, NavBarTabLink, NavBarTabs, TopBar } from 'design-system'; import * as React from 'react'; import { Location } from 'react-router-dom'; @@ -95,7 +95,7 @@ export class SettingsNav extends React.PureComponent { return ( diff --git a/server/sonar-web/src/main/js/components/activity-graph/GraphsHeader.tsx b/server/sonar-web/src/main/js/components/activity-graph/GraphsHeader.tsx index 008c47f2cd3..13265163d17 100644 --- a/server/sonar-web/src/main/js/components/activity-graph/GraphsHeader.tsx +++ b/server/sonar-web/src/main/js/components/activity-graph/GraphsHeader.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { DropdownMenu } from '@sonarsource/echoes-react'; +import { DropdownMenu, DropdownMenuAlign } from '@sonarsource/echoes-react'; import { ButtonSecondary, ChevronDownIcon, TextMuted } from 'design-system'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; @@ -77,7 +77,7 @@ export default function GraphsHeader(props: Props) { return (
- + - }> + } + >