Skip to content

The open alternative to Salesforce, designed for AI.

feature: fix borders of table

Sammy Teillet6f9506b924d5
diff --git a/front/src/components/table/Table.tsx b/front/src/components/table/Table.tsx
index 79425ce359b..3b0bdd67b61 100644
--- a/front/src/components/table/Table.tsx
+++ b/front/src/components/table/Table.tsx
@@ -20,14 +20,23 @@ type OwnProps = {
const StyledTable = styled.table`
min-width: 100%;
border-radius: 4px;
- border: 1px solid #f5f5f5;
border-spacing: 0;
- td,
th {
- border: 1px solid #f5f5f5;
- font-size: 12px;
+ border-top: 1px solid #f5f5f5;
+ border-bottom: 1px solid #f5f5f5;
text-align: left;
+ :not(:last-child) {
+ border-right: 1px solid #f5f5f5;
+ }
+ }
+
+ td {
+ border-bottom: 1px solid #f5f5f5;
+ text-align: left;
+ :not(:last-child) {
+ border-right: 1px solid #f5f5f5;
+ }
}
`;