From 131b6f4b9afeb2c7e65682a267fd1550e06a353b Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 16 Nov 2021 21:28:36 +0100 Subject: [PATCH] workaround chrome rendering bug --- copyparty/web/browser.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 39dcaded..8054cf4e 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -44,8 +44,9 @@ pre, code, tt, #doc, #doc>code { margin-left: -.7em; } #files { - border-spacing: 0; z-index: 1; + top: -.3em; + border-spacing: 0; position: relative; } #files tbody a { @@ -72,7 +73,7 @@ a, #files tbody div a:last-child { } #files thead { position: sticky; - top: 0; + top: -1px; } #files thead a { color: #999; @@ -82,7 +83,7 @@ a, #files tbody div a:last-child { background: #1c1c1c; } #files thead th { - padding: 0 .3em .3em .3em; + padding: .3em; border-bottom: 1px solid #444; cursor: pointer; }