From f1d69da31014ed0d953674df22e6a4a3e42f9e74 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 30 Sep 2019 00:28:47 +0000 Subject: [PATCH] Text enclosed in pre tag in Wiki formatting reference is not displayed in a monospaced font in Chrome (#32170). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18550 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/help/wiki_syntax.css | 1 + public/help/wiki_syntax_detailed.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/help/wiki_syntax.css b/public/help/wiki_syntax.css index ca2c04f76..597df47b1 100644 --- a/public/help/wiki_syntax.css +++ b/public/help/wiki_syntax.css @@ -1,5 +1,6 @@ h1 { font-family: Verdana, sans-serif; font-size: 14px; text-align: center; color: #444; } body { font-family: Verdana, sans-serif; font-size: 12px; color: #444; } +pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; } table th { padding-top: 1em; } table td { vertical-align: top; background-color: #f5f5f5; height: 2em; vertical-align: middle;} table td code { font-size: 1.2em; } diff --git a/public/help/wiki_syntax_detailed.css b/public/help/wiki_syntax_detailed.css index b6ae88e81..08fb68c68 100644 --- a/public/help/wiki_syntax_detailed.css +++ b/public/help/wiki_syntax_detailed.css @@ -1,6 +1,6 @@ body { font:80% Verdana,Tahoma,Arial,sans-serif; } h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; } -pre, code { font-size:120%; } +pre, code { font-size:120%; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; } pre code { font-size:100%; } pre { margin: 1em 1em 1em 1.6em; -- 2.39.5