mirror of
https://github.com/processwire/processwire.git
synced 2025-08-24 15:23:11 +02:00
updated font-family with more monospace fonts
This commit is contained in:
@@ -2033,7 +2033,7 @@ class Pageimage extends Pagefile {
|
|||||||
$content = str_replace(array('<pre>', '</pre>'), '', $content);
|
$content = str_replace(array('<pre>', '</pre>'), '', $content);
|
||||||
if(isset($_SERVER['HTTP_HOST'])) {
|
if(isset($_SERVER['HTTP_HOST'])) {
|
||||||
// build output for HTML
|
// build output for HTML
|
||||||
$return = "<pre style=\"margin:10px; padding:10px; background-color:#F2F2F2; color:#000; border:1px solid #333; font-family:'Hack', 'Source Code Pro', 'Lucida Console', 'Courier', monospace; font-size:12px; line-height:15px; overflow:auto;\">{$content}</pre>";
|
$return = "<pre style=\"margin:10px; padding:10px; background-color:#F2F2F2; color:#000; border:1px solid #333; font-family:'Hack Regular', 'Source Code Pro', 'Envy Code R', 'Noto mono', 'Liberation Mono', 'Consolas', 'Lucida Console', 'DejaVu Sans Mono', 'LetterGothicStd', 'Courier New', 'Courier', monospace; font-size:12px; line-height:15px; overflow:auto;\">{$content}</pre>";
|
||||||
} else {
|
} else {
|
||||||
// output for Console
|
// output for Console
|
||||||
$return = $content;
|
$return = $content;
|
||||||
|
Reference in New Issue
Block a user