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
This commit is contained in:
Go MAEDA
2019-09-30 00:28:47 +00:00
parent 661d4b42b1
commit f1d69da310
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
h1 { font-family: Verdana, sans-serif; font-size: 14px; text-align: center; color: #444; } 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; } 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 th { padding-top: 1em; }
table td { vertical-align: top; background-color: #f5f5f5; height: 2em; vertical-align: middle;} table td { vertical-align: top; background-color: #f5f5f5; height: 2em; vertical-align: middle;}
table td code { font-size: 1.2em; } table td code { font-size: 1.2em; }

View File

@@ -1,6 +1,6 @@
body { font:80% Verdana,Tahoma,Arial,sans-serif; } body { font:80% Verdana,Tahoma,Arial,sans-serif; }
h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",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 code { font-size:100%; }
pre { pre {
margin: 1em 1em 1em 1.6em; margin: 1em 1em 1em 1.6em;