aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src
diff options
context:
space:
mode:
authorAmbroise C <ambroise.christea@sonarsource.com>2024-01-31 18:17:34 +0100
committersonartech <sonartech@sonarsource.com>2024-02-01 20:02:46 +0000
commitaef58efe8a2faa39174fe5410b0f8a216faa571a (patch)
tree2c4a413dd34c0290eb79c7ae18890209b54da3f6 /server/sonar-web/design-system/src
parent94f81b2644aa0b9444a4b16df0cd2a6830101bca (diff)
downloadsonarqube-aef58efe8a2faa39174fe5410b0f8a216faa571a.tar.gz
sonarqube-aef58efe8a2faa39174fe5410b0f8a216faa571a.zip
SONAR-21541 Fix borders in QP changelog list
Diffstat (limited to 'server/sonar-web/design-system/src')
-rw-r--r--server/sonar-web/design-system/src/components/Table.tsx9
1 files changed, 7 insertions, 2 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 <CellComponentStyled as={containerType} {...props} />;
}
-export function ContentCell({ children, className, ...props }: CellComponentProps) {
+export function ContentCell({
+ children,
+ cellClassName,
+ className,
+ ...props
+}: CellComponentProps & { cellClassName?: string }) {
return (
- <CellComponent {...props}>
+ <CellComponent className={cellClassName} {...props}>
<div
className={classNames('sw-text-left sw-justify-start sw-flex sw-items-center', className)}
>