From 1c3a4eb9a9ad0951bd396b44d441c3808b2af955 Mon Sep 17 00:00:00 2001 From: David Cho-Lerat Date: Thu, 27 Jul 2023 10:23:01 +0200 Subject: [PATCH] SONAR-19547 Styling fixes for the clipboard button --- .../sonar-web/design-system/src/components/Breadcrumbs.tsx | 2 +- .../crossComponentSourceViewer/IssueSourceViewerHeader.tsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server/sonar-web/design-system/src/components/Breadcrumbs.tsx b/server/sonar-web/design-system/src/components/Breadcrumbs.tsx index e59c74b31fa..f367e38965e 100644 --- a/server/sonar-web/design-system/src/components/Breadcrumbs.tsx +++ b/server/sonar-web/design-system/src/components/Breadcrumbs.tsx @@ -162,7 +162,7 @@ export function Breadcrumbs(props: Props) { )} - {actions &&
{actions}
} + {actions &&
{actions}
} ); } diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx index 6b98928229a..3c29418ac85 100644 --- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx +++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx @@ -103,8 +103,9 @@ function IssueSourceViewerHeader(props: Props & ThemeProp) { )} {!isProjectRoot && ( - <> + {displayProjectName && } + {collapsedDirFromPath(path)} {fileFromPath(path)} @@ -133,7 +134,7 @@ function IssueSourceViewerHeader(props: Props & ThemeProp) { ); }} - + )} -- 2.39.5