From aef58efe8a2faa39174fe5410b0f8a216faa571a Mon Sep 17 00:00:00 2001 From: Ambroise C Date: Wed, 31 Jan 2024 18:17:34 +0100 Subject: [PATCH] SONAR-21541 Fix borders in QP changelog list --- .../design-system/src/components/Table.tsx | 9 +++++++-- .../quality-profiles/changelog/Changelog.tsx | 18 ++++++++---------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/server/sonar-web/design-system/src/components/Table.tsx b/server/sonar-web/design-system/src/components/Table.tsx index da6b5d5eb36..44c09e399fe 100644 --- a/server/sonar-web/design-system/src/components/Table.tsx +++ b/server/sonar-web/design-system/src/components/Table.tsx @@ -187,9 +187,14 @@ export function CellComponent(props: CellComponentProps) { return ; } -export function ContentCell({ children, className, ...props }: CellComponentProps) { +export function ContentCell({ + children, + cellClassName, + className, + ...props +}: CellComponentProps & { cellClassName?: string }) { return ( - +
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx index 6b2444379df..437f10bbcbe 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx @@ -85,7 +85,8 @@ export default function Changelog(props: Props) { return ( {shouldDisplayDate && (
@@ -110,17 +111,15 @@ export default function Changelog(props: Props) { {shouldDisplayAuthor && (event.authorName ? event.authorName : System)} {shouldDisplayAction && intl.formatMessage({ id: `quality_profiles.changelog.${event.action}` })} @@ -143,9 +142,8 @@ export default function Changelog(props: Props) { {event.params && } -- 2.39.5