From 80ec8824953bb4d9830ccde1fc007c51fe431509 Mon Sep 17 00:00:00 2001 From: stanislavh Date: Thu, 1 Dec 2022 14:38:34 +0100 Subject: [PATCH] [SONAR-14188] Disable text cropping for repository name in AZDO Onboarding feature --- .../main/js/apps/create/project/AzureProjectAccordion.tsx | 5 ++--- .../__snapshots__/AzureProjectAccordion-test.tsx.snap | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx b/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx index 32a58c06978..21076234d02 100644 --- a/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx @@ -147,13 +147,12 @@ export default function AzureProjectAccordion(props: AzureProjectAccordionProps) props.onSelectRepository(repo)} value={repo.name} > - - {highlight(repo.name, searchQuery)} - + {highlight(repo.name, searchQuery)} )} diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AzureProjectAccordion-test.tsx.snap b/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AzureProjectAccordion-test.tsx.snap index c717c261d32..3dbc8f46c8f 100644 --- a/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AzureProjectAccordion-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AzureProjectAccordion-test.tsx.snap @@ -39,6 +39,7 @@ exports[`should render correctly: importing 1`] = ` key="Azure repo 1" > Azure repo 1 @@ -115,6 +115,7 @@ exports[`should render correctly: search results 1`] = ` key="this repo is the best" > this @@ -201,6 +201,7 @@ exports[`should render correctly: with repositories 1`] = ` key="Azure repo 1" > Azure repo 1 -- 2.39.5