@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use user's preferred font for inline code snippets too

Summary:
Use user's preferred font for inline code snippets,
like we already do for block code snippets.

Test Plan:
Set a non-default font in Settings → Display Preferences → Monospaced Font.
Make sure that it applies to both single-tick (inline) and triple-tick (block)
code snippets in comments.

For example, enter:

42px Tahoma

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15682

Differential Revision: https://we.phorge.it/D25486

+3 -2
+3 -2
src/view/page/PhabricatorStandardPageView.php
··· 413 413 $font_css = hsprintf( 414 414 '<style type="text/css">'. 415 415 '.PhabricatorMonospaced, '. 416 - '.phabricator-remarkup .remarkup-code-block '. 417 - '.remarkup-code { font: %s !important; } '. 416 + '.phabricator-remarkup .remarkup-code-block .remarkup-code, '. 417 + '.phabricator-remarkup .remarkup-monospaced '. 418 + '{ font: %s !important; } '. 418 419 '</style>', 419 420 $monospaced); 420 421 }