OpenLiberty / openliberty.io

Open Liberty website
https://openliberty.io
Other
54 stars 40 forks source link

Code blocks do not render in a monospace font on Linux #3885

Open Azquelt opened 3 weeks ago

Azquelt commented 3 weeks ago

Code blocks and inline code segments do not render in a monospace font on Linux/Firefox.

Example from https://openliberty.io/docs/latest/reference/feature/mpOpenAPI-3.1.html:

image

This appears to be because the css ends up applying font-family: Courier; with no fallback to a generic font family like monospace and I do not have the Courier font available.

dmuelle commented 3 weeks ago

Hi @Azquelt - since the docs team doesn't handle the site css and theres nothing in our files that can address this, I'm going to transfer this issue to the openliberty.io site repo so those admins can address it.