diff options
Diffstat (limited to 'server/sonar-web')
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) <Radio checked={isSelected(repo)} className="overflow-hidden" + alignLabel={true} disabled={importing} onCheck={() => props.onSelectRepository(repo)} value={repo.name} > - <span className="text-ellipsis" title={repo.name}> - {highlight(repo.name, searchQuery)} - </span> + <span title={repo.name}>{highlight(repo.name, searchQuery)}</span> </Radio> )} </div> 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" > <Radio + alignLabel={true} checked={false} className="overflow-hidden" disabled={true} @@ -46,7 +47,6 @@ exports[`should render correctly: importing 1`] = ` value="Azure repo 1" > <span - className="text-ellipsis" title="Azure repo 1" > Azure repo 1 @@ -115,6 +115,7 @@ exports[`should render correctly: search results 1`] = ` key="this repo is the best" > <Radio + alignLabel={true} checked={false} className="overflow-hidden" disabled={false} @@ -122,7 +123,6 @@ exports[`should render correctly: search results 1`] = ` value="this repo is the best" > <span - className="text-ellipsis" title="this repo is the best" > this @@ -201,6 +201,7 @@ exports[`should render correctly: with repositories 1`] = ` key="Azure repo 1" > <Radio + alignLabel={true} checked={false} className="overflow-hidden" disabled={false} @@ -208,7 +209,6 @@ exports[`should render correctly: with repositories 1`] = ` value="Azure repo 1" > <span - className="text-ellipsis" title="Azure repo 1" > Azure repo 1 |