Skip to main content
Question

text preview tries and fails to use monospaced font

  • May 27, 2025
  • 0 replies
  • 10 views

Forum|alt.badge.img

It looks like the preview of text files is trying hard to show them in a monospaced font--it wraps the content in both <pre> and <code>--but there seems to be a stray CSS rule that overrides them to make it match the rest of the page instead:

.be *{font-family:inherit}


Sure would be nice if this could be fixed to display text files in monospace as seems to be intended.

0 replies

Be the first to reply!