From a4aac4abe09cebd2db2f90d57a7692cb7e240b26 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 6 Mar 2024 21:42:48 +0100 Subject: [PATCH] Improve CSV rendering --- web_src/css/repo.css | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index d60fb4db21a2f..75be969475142 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1420,6 +1420,7 @@ .repository .data-table tr { border-top: 0; + background: none !important; } .repository .data-table td, @@ -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 { @@ -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;