mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 13:00:56 +01:00
Monospaced preferences now display in Remarkup areas
Summary: Fixes T6109, Ref T6654. Correctly clobbers the Remarkup defaults. Test Plan: Tested with Copperplate! {F239347} Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6109, T6654 Differential Revision: https://secure.phabricator.com/D10905
This commit is contained in:
parent
013e953a40
commit
48e90ca7d5
1 changed files with 3 additions and 2 deletions
|
@ -262,10 +262,11 @@ final class PhabricatorStandardPageView extends PhabricatorBarePageView {
|
|||
return hsprintf(
|
||||
'%s<style type="text/css">'.
|
||||
'.PhabricatorMonospaced, '.
|
||||
'.phabricator-remarkup .remarkup-code-block { font: %s; } '.
|
||||
'.phabricator-remarkup .remarkup-code-block '.
|
||||
'.remarkup-code { font: %s; } '.
|
||||
'.platform-windows .PhabricatorMonospaced, '.
|
||||
'.platform-windows .phabricator-remarkup '.
|
||||
'.remarkup-code-block { font: %s; }'.
|
||||
'.remarkup-code-block .remarkup-code { font: %s; }'.
|
||||
'</style>%s',
|
||||
parent::getHead(),
|
||||
phutil_safe_html($monospaced),
|
||||
|
|
Loading…
Reference in a new issue