From 9c8507a0fd469eee5612ed4ed764f604c555a016 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 17 Nov 2024 19:39:44 +0000 Subject: [PATCH] fix downloads-eta layout jank --- copyparty/httpsrv.py | 2 +- copyparty/web/splash.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/copyparty/httpsrv.py b/copyparty/httpsrv.py index 8f0c9642..47519bd1 100644 --- a/copyparty/httpsrv.py +++ b/copyparty/httpsrv.py @@ -135,7 +135,7 @@ class HttpSrv(object): dls: dict[str, tuple[float, int]] = {} # state self.dli = self.tdli = dli self.dls = self.tdls = dls - self.iiam = '' % (self.args.SRS,) + self.iiam = '' % (self.args.SRS,) self.bound: set[tuple[str, int]] = set() self.name = "hsrv" + nsuf diff --git a/copyparty/web/splash.css b/copyparty/web/splash.css index d333d027..5ccebdc7 100644 --- a/copyparty/web/splash.css +++ b/copyparty/web/splash.css @@ -94,6 +94,9 @@ table { .vols th:empty { padding: 0; } +.vols img { + margin: -4px 0; +} .num { border-right: 1px solid #bbb; }