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:
commit
55f81e5a2e
1 changed files with 16 additions and 1 deletions
|
@ -1432,6 +1432,21 @@
|
|||
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 {
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
@ -1469,7 +1484,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;
|
||||
|
|
Loading…
Reference in a new issue