Skip to content

Commit

Permalink
Make the issue number visible in the link text (#1136)
Browse files Browse the repository at this point in the history
This helps for find-in-page for an issue number and making it clearer what the sort order is. Helps with #1120.
  • Loading branch information
zcorpan authored Dec 11, 2024
1 parent dcc602c commit 94e53db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down Expand Up @@ -376,7 +376,7 @@ <h2>Legend</h2>

// 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'));
}
Expand Down

0 comments on commit 94e53db

Please sign in to comment.