about summary refs log tree commit diff
path: root/nixpkgs-overlays/patches/python/packages/hyperkitty/0001-Improve-look-of-fixed-width-messages.patch
blob: cbf9083ed5e9ac9c0a74156f1c60c5eef7a71a2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From bd62e0ac83b46d763bb6d083e2979032d75c7587 Mon Sep 17 00:00:00 2001
From: Alyssa Ross <hi@alyssa.is>
Date: Sat, 4 Apr 2020 11:11:45 +0000
Subject: [PATCH] Improve look of fixed-width messages

Use the system monospace font, which can be set to whatever the user
wants, and decrease the font size a bit, because monospace fonts
usually feel a bit bigger than their variable-width counterparts.
---
 hyperkitty/static/hyperkitty/sass/_hyperkitty-message.scss | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hyperkitty/static/hyperkitty/sass/_hyperkitty-message.scss b/hyperkitty/static/hyperkitty/sass/_hyperkitty-message.scss
index 25f7f1e..f035d69 100644
--- a/hyperkitty/static/hyperkitty/sass/_hyperkitty-message.scss
+++ b/hyperkitty/static/hyperkitty/sass/_hyperkitty-message.scss
@@ -127,7 +127,8 @@ $oddEmailColor: rgb(238, 238, 238);
     }
 }
 .email-body.fixed {
-    font-family: 'Droid Sans Mono', monospace;
+    font-family: monospace;
+    font-size: 0.9em;
     white-space: pre;
 }
 
-- 
2.24.1