Skip to content

Commit 43d217a

Browse files
committed
CSS changes for the table
1 parent c541527 commit 43d217a

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

assets/css/page-widgets/content-activity.css

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
table {
44
width: 100%;
55
margin-bottom: 1em;
6+
border-spacing: 6px 0;
67
}
78

89
th,
@@ -19,15 +20,24 @@
1920
text-align: start;
2021
}
2122

22-
tbody th {
23-
font-weight: 400;
23+
tbody {
24+
25+
th {
26+
font-weight: 400;
27+
}
28+
29+
tr {
30+
31+
&:nth-child(odd) {
32+
background-color: #f9fafb;
33+
}
34+
}
2435
}
2536

2637
thead {
2738

2839
th,
2940
td {
30-
border-bottom: 1px solid var(--prpl-color-gray-3);
3141
text-align: start;
3242
}
3343
}
@@ -36,15 +46,11 @@
3646

3747
th,
3848
td {
39-
border-top: 1px solid var(--prpl-color-gray-3);
4049
text-align: start;
50+
border-top: 1px solid var(--prpl-color-gray-2);
4151
}
4252
}
4353

44-
tr:nth-child(even) {
45-
background-color: #f9fafb;
46-
}
47-
4854
tr:last-child td {
4955
border-bottom: none;
5056
}

0 commit comments

Comments
 (0)