Skip to content

Commit f32bc34

Browse files
Copilothustcc
andcommitted
Add table styling for markdown-rendered tables in Analysis Summary
Co-authored-by: hustcc <7856674+hustcc@users.noreply.github.com>
1 parent 864e153 commit f32bc34

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

site/src/index.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,37 @@ body {
1313
-moz-osx-font-smoothing: grayscale;
1414
background-color: #f8fbfc;
1515
}
16+
17+
/* Table styling for markdown-rendered tables in prose */
18+
.prose table {
19+
width: 100%;
20+
border-collapse: collapse;
21+
margin-top: 0.5rem;
22+
margin-bottom: 0.5rem;
23+
}
24+
25+
.prose thead {
26+
background-color: #f3f4f6;
27+
}
28+
29+
.prose th {
30+
border: 1px solid #d1d5db;
31+
padding: 0.5rem 0.75rem;
32+
text-align: left;
33+
font-weight: 600;
34+
color: #374151;
35+
}
36+
37+
.prose td {
38+
border: 1px solid #e5e7eb;
39+
padding: 0.5rem 0.75rem;
40+
color: #4b5563;
41+
}
42+
43+
.prose tbody tr:nth-child(even) {
44+
background-color: #f9fafb;
45+
}
46+
47+
.prose tbody tr:hover {
48+
background-color: #f3f4f6;
49+
}

0 commit comments

Comments
 (0)