Skip to content

Commit

Permalink
Improve CSV rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Mar 6, 2024
1 parent f6d01ac commit a4aac4a
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,7 @@

.repository .data-table tr {
border-top: 0;
background: none !important;
}

.repository .data-table td,
Expand All @@ -1429,7 +1430,22 @@
font-size: 12px;
text-align: left;
white-space: nowrap;
border: 1px solid var(--color-secondary);
border: none;
}

/* the border css competes with .markup where all tables have outer border which would add a double
border here, remove only the outer borders from this table */
.repository .data-table tr:first-child :is(td,th) {
border-top: none !important;
}
.repository .data-table tr:last-child :is(td,th) {
border-bottom: none !important;
}
.repository .data-table tr :is(td,th):first-child {
border-left: none !important;
}
.repository .data-table tr :is(td,th):last-child {
border-right: none !important;
}

.repository .data-table td {
Expand Down Expand Up @@ -1469,7 +1485,7 @@
min-width: 50px;
font-family: monospace;
line-height: 20px;
color: var(--color-secondary-dark-2);
color: var(--color-text-light-1);
white-space: nowrap;
vertical-align: top;
cursor: pointer;
Expand Down

0 comments on commit a4aac4a

Please sign in to comment.