diff --git a/core/server/dashboard.cpp b/core/server/dashboard.cpp index 1933279a..5e4899f5 100644 --- a/core/server/dashboard.cpp +++ b/core/server/dashboard.cpp @@ -1238,7 +1238,10 @@ nav button.on { color:var(--fg); background:var(--track); } diff --git a/tests/js/download.test.js b/tests/js/download.test.js index fd7906e9..943afdec 100644 --- a/tests/js/download.test.js +++ b/tests/js/download.test.js @@ -24,6 +24,16 @@ ok(/title="Download JSON file"/.test(btn), "the tooltip says 'Download JSON file ok(/aria-label="Download JSON file"/.test(btn), "and is labelled for assistive tech"); ok(//.test(btn), "it holds an icon, not a text label"); ok(!/>\s*json\s* 0 && sw > 0 && bar > 0, "parsed the glyph geometry (viewBox " + vb + ", stroke " + sw + ", bar " + bar + ")"); +eq(Math.round((bar + sw / 2) * 1000) / 1000, vb, + "the tray bar's stroke bottom is flush with the box bottom, so it sits on the baseline"); /* It must sit in the Requests header, in the LEFT group, before the right-hand aside. Index ordering is sturdier than a regex across the whole block. */ const iLeft = page.indexOf('class="pleft"');