Skip to content

Commit a4aac4a

Browse files
committed
Improve CSV rendering
1 parent f6d01ac commit a4aac4a

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

web_src/css/repo.css

+18-2
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,7 @@
14201420

14211421
.repository .data-table tr {
14221422
border-top: 0;
1423+
background: none !important;
14231424
}
14241425

14251426
.repository .data-table td,
@@ -1429,7 +1430,22 @@
14291430
font-size: 12px;
14301431
text-align: left;
14311432
white-space: nowrap;
1432-
border: 1px solid var(--color-secondary);
1433+
border: none;
1434+
}
1435+
1436+
/* the border css competes with .markup where all tables have outer border which would add a double
1437+
border here, remove only the outer borders from this table */
1438+
.repository .data-table tr:first-child :is(td,th) {
1439+
border-top: none !important;
1440+
}
1441+
.repository .data-table tr:last-child :is(td,th) {
1442+
border-bottom: none !important;
1443+
}
1444+
.repository .data-table tr :is(td,th):first-child {
1445+
border-left: none !important;
1446+
}
1447+
.repository .data-table tr :is(td,th):last-child {
1448+
border-right: none !important;
14331449
}
14341450

14351451
.repository .data-table td {
@@ -1469,7 +1485,7 @@
14691485
min-width: 50px;
14701486
font-family: monospace;
14711487
line-height: 20px;
1472-
color: var(--color-secondary-dark-2);
1488+
color: var(--color-text-light-1);
14731489
white-space: nowrap;
14741490
vertical-align: top;
14751491
cursor: pointer;

0 commit comments

Comments
 (0)