Skip to content

The open alternative to Salesforce, designed for AI.

feature: add a left padding in cells

Sammy Teilleta843d7d76e18
diff --git a/front/src/components/table/ClickableCell.tsx b/front/src/components/table/ClickableCell.tsx
index a1ecb43af1c..fdae76a3375 100644
--- a/front/src/components/table/ClickableCell.tsx
+++ b/front/src/components/table/ClickableCell.tsx
@@ -1,3 +1,4 @@
+import styled from '@emotion/styled';
import * as React from 'react';
import { Link } from 'react-router-dom';
@@ -6,8 +7,16 @@ type OwnProps = {
children?: React.ReactNode;
};
+const Container = styled.span`
+ margin-left: 4px;
+`;
+
function ClickableCell({ href, children }: OwnProps) {
- return <Link to={href}>{children}</Link>;
+ return (
+ <Link to={href}>
+ <Container>{children}</Container>
+ </Link>
+ );
}
export default ClickableCell;