Skip to content

Directory page heading: description uses the site font - #88

Merged
yesnet0 merged 1 commit into
mainfrom
fix/directory-heading-font
Dec 1, 2026
Merged

yesnet0 merged 1 commit into
mainfrom
fix/directory-heading-font

Conversation

@yesnet0

@yesnet0 yesnet0 commented Dec 1, 2026

Copy link
Copy Markdown
Member

Follow-up to #87. The directory's container sets its own font list ('Noto Sans', system-ui), which the heading's description inherited, while the Threats and Platforms descriptions use the site font. On a machine with Noto Sans installed the two would draw differently. Adds font-sans to the description rule.

Checked by comparing every computed property of the title and description against the Threats and Platforms headings with this stylesheet on the real pages: 0 of 537 differ on each, at 1440, 768, 767 and 390 px. The same comparison with the stylesheet from before #87 reports 27 differences, so the check can fail.

…ats header

The directory's container sets its own font list, which the description inherited.
On machines with that font installed it would have drawn differently from the
sibling pages. Set the site font on the description rule.
@yesnet0
yesnet0 merged commit 2ab2207 into main Dec 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant