From 6f384fc3c6f95dd0e9561b6ec9c371784805696e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 19 Jan 2019 02:10:09 +0000 Subject: hval: force monospace for
elements, too Same reasoning as commit 7b7885fc3be2719c068c0a2fc860d53f17a1d933, because GUI browsers have a tendency to use a different font-family (and thus different size) as the rest of the page. --- lib/PublicInbox/Hval.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/Hval.pm b/lib/PublicInbox/Hval.pm index ccfa3242..a120a291 100644 --- a/lib/PublicInbox/Hval.pm +++ b/lib/PublicInbox/Hval.pm @@ -18,8 +18,12 @@ our @EXPORT_OK = qw/ascii_html obfuscate_addrs to_filename/; # browsers (tested both Firefox and surf (webkit)) uses a larger font # for the Search element than the rest of the page. Font size # uniformity is important to people who rely on gigantic fonts. +# Finally, we use monospace to ensure the Search field and button +# has the same size and spacing as everything else which is +#
-formatted anyways.
 use constant STYLE =>
-	'';
+	'';
 
 my $enc_ascii = find_encoding('us-ascii');
 
-- 
cgit v1.2.3-24-ge0c7