1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00

Merge pull request '[port] Improve CSV rendering (gitea#29638)' (#2687) from algernon/forgejo:gitea/port/29638 into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2687
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-03-19 08:14:20 +00:00
commit 55f81e5a2e

View file

@ -1432,6 +1432,21 @@
border: 1px solid var(--color-secondary); border: 1px solid var(--color-secondary);
} }
/* 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 { .repository .data-table td {
white-space: pre-line; white-space: pre-line;
} }
@ -1469,7 +1484,7 @@
min-width: 50px; min-width: 50px;
font-family: monospace; font-family: monospace;
line-height: 20px; line-height: 20px;
color: var(--color-secondary-dark-2); color: var(--color-text-light-1);
white-space: nowrap; white-space: nowrap;
vertical-align: top; vertical-align: top;
cursor: pointer; cursor: pointer;