Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save minesh1291/9b27f179378153dc890e89c846b8c72a to your computer and use it in GitHub Desktop.

Select an option

Save minesh1291/9b27f179378153dc890e89c846b8c72a to your computer and use it in GitHub Desktop.
Fixed-width fonts for Gmail in Firefox
Since Gmail discontinued the "Fixed-width fonts" lab, here's a CSS hack to use a
monospace font for incoming mail:
1. Install the dotjs extension:
https://addons.mozilla.org/en-US/firefox/addon/dotjs/
2. Put this in ~/.css/mail.google.com.css:
/* Read messages in fixed-width font */
.ii.gt {
font-family: "Bitstream Vera Sans Mono";
font-size: 8pt;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment