Skip to content

Commit 38aa3ca

Browse files
committed
tweaking table styles
1 parent a4a3db7 commit 38aa3ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/css/custom.css

+5-2
Original file line numberDiff line numberDiff line change
@@ -216,14 +216,13 @@ table {
216216
margin: 2em 0;
217217
overflow-x: auto;
218218
width: 100%;
219+
display: inline-table;
219220
}
220221

221222
table,
222223
td,
223224
th {
224225
border-collapse: collapse;
225-
border-color: var(--line-rule-color);
226-
border-style: solid;
227226
}
228227

229228
td,
@@ -234,6 +233,10 @@ th {
234233
text-align: left;
235234
}
236235

236+
thead th:empty {
237+
display: none;
238+
}
239+
237240
thead th,
238241
tbody tr:nth-child(even) {
239242
background-color: var(--ifm-table-stripe-background);

0 commit comments

Comments
 (0)