From f44d9a7327f9b2d08d6a9ed8a75a41a848a64e9b Mon Sep 17 00:00:00 2001 From: zcorpan Date: Tue, 3 Dec 2024 16:11:35 +0100 Subject: [PATCH] Make the issue number visible in the link text This helps for find-in-page for an issue number and making it clearer what the sort order is. Helps with #1120. --- index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 0ecefb4..2bd0906 100644 --- a/index.html +++ b/index.html @@ -88,23 +88,23 @@ search label { display: flex; gap: 1em; } input[name="search"] { width: 100%; margin-right: 5em; border: 1px solid gray; border-radius: 3px; background-color: var(--input-bg-color); color: var(--input-color); } - td.more-info :any-link { text-decoration: none; } table { border-collapse: collapse; table-layout: fixed; width: 100%; margin: 0 auto 2em; max-width: 72em; } thead { position: sticky; top: 0; background-color: var(--root-bg-color); z-index: 2; } th { text-align: left; box-shadow: var(--table-border-color) 0 1px 0; } th:first-child { text-align: right; } - th, td.venues, td.more-info { white-space: nowrap; } + th { white-space: nowrap; } th.link { width: 6em; } th.specification { width: 32.5em; } td.concerns, td.topics { font-size: 0.75em; padding-bottom: 0.85em; text-wrap: balance; } td.venues, td.more-info { word-spacing: 8px; padding-top: 0.1em; padding-bottom: 0.1em; font-size: 1.5em; } - td.venues :any-link, td.more-info :any-link { padding: 0; } + td.more-info :any-link[title="Discussion"] { font-size: 0.75rem; vertical-align: 0.2rem; } + td.more-info :any-link:not([title="Discussion"]) { padding: 0; text-decoration: none; } td.link :any-link { padding: 0.25rem; } th.concerns { width: 7em; } th.position { width: 4em; } th.topics { width: 3.5em; } th.venues { width: 3.5em; } - th.more-info { width: 8.5em; } + th.more-info { width: 9.5em; } th, td { padding: 0.5rem; } td:first-child { padding-left: 5.5em; width: 1em; } tr.details > td { padding-top: 0; padding-bottom: 0; border-top: none; } @@ -376,7 +376,7 @@

Legend

// More info const infoLinks = []; - infoLinks.push(link(`https://github.com/mozilla/standards-positions/issues/${issueNum}`, '💬', 'Discussion')); + infoLinks.push(link(`https://github.com/mozilla/standards-positions/issues/${issueNum}`, `#${issueNum}`, 'Discussion')); if (bug) { infoLinks.push(" ", link(bug, img('asset/bugzilla.png', 32, 32, 'bug'), 'Mozilla bug')); }