@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.

Always pre-wrap code blocks

Summary: Fixes T11416. Unclear what the side-effects of this would be, so bark if you find something. Previously, we'd have to overflow and scroll, which is kind of a pain since you're hiding content on long code blocks. This just wraps long lines, and preserves line breaks globally.

Test Plan: Test feed, profile, comments, inline comments, triple backticks.

Reviewers: avivey, epriestley

Reviewed By: avivey, epriestley

Subscribers: Korvin

Maniphest Tasks: T11416

Differential Revision: https://secure.phabricator.com/D16361

+6 -9
+5 -5
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => 'f3021640', 10 + 'core.pkg.css' => '6b69c820', 11 11 'core.pkg.js' => 'b562c3db', 12 12 'darkconsole.pkg.js' => 'e7393ebb', 13 13 'differential.pkg.css' => '3fb7f532', ··· 94 94 'rsrc/css/application/policy/policy.css' => '957ea14c', 95 95 'rsrc/css/application/ponder/ponder-view.css' => 'fbd45f96', 96 96 'rsrc/css/application/project/project-card-view.css' => '9418c97d', 97 - 'rsrc/css/application/project/project-view.css' => 'cbaa10a1', 97 + 'rsrc/css/application/project/project-view.css' => '9ce99f21', 98 98 'rsrc/css/application/releeph/releeph-core.css' => '9b3c5733', 99 99 'rsrc/css/application/releeph/releeph-preview-branch.css' => 'b7a6f4a5', 100 100 'rsrc/css/application/releeph/releeph-request-differential-create-dialog.css' => '8d8b92cd', ··· 105 105 'rsrc/css/application/tokens/tokens.css' => '3d0f239e', 106 106 'rsrc/css/application/uiexample/example.css' => '528b19de', 107 107 'rsrc/css/core/core.css' => 'd0801452', 108 - 'rsrc/css/core/remarkup.css' => '523d34bb', 108 + 'rsrc/css/core/remarkup.css' => '5ed06ed8', 109 109 'rsrc/css/core/syntax.css' => '769d3498', 110 110 'rsrc/css/core/z-index.css' => '5b6fcf3f', 111 111 'rsrc/css/diviner/diviner-shared.css' => 'aa3656aa', ··· 793 793 'phabricator-object-selector-css' => '85ee8ce6', 794 794 'phabricator-phtize' => 'd254d646', 795 795 'phabricator-prefab' => 'cfd23f37', 796 - 'phabricator-remarkup-css' => '523d34bb', 796 + 'phabricator-remarkup-css' => '5ed06ed8', 797 797 'phabricator-search-results-css' => '7dea472c', 798 798 'phabricator-shaped-request' => '7cbe244b', 799 799 'phabricator-slowvote-css' => 'a94b7230', ··· 884 884 'policy-transaction-detail-css' => '82100a43', 885 885 'ponder-view-css' => 'fbd45f96', 886 886 'project-card-view-css' => '9418c97d', 887 - 'project-view-css' => 'cbaa10a1', 887 + 'project-view-css' => '9ce99f21', 888 888 'releeph-core' => '9b3c5733', 889 889 'releeph-preview-branch' => 'b7a6f4a5', 890 890 'releeph-request-differential-create-dialog' => '8d8b92cd',
-4
webroot/rsrc/css/application/project/project-view.css
··· 91 91 .profile-no-badges { 92 92 padding: 24px 0; 93 93 } 94 - 95 - .project-view-home .phabricator-remarkup .remarkup-code-block pre { 96 - white-space: pre-wrap; 97 - }
+1
webroot/rsrc/css/core/remarkup.css
··· 51 51 overflow: auto; 52 52 padding: 12px; 53 53 border-radius: 3px; 54 + white-space: pre-wrap; 54 55 } 55 56 56 57 .phabricator-remarkup pre.remarkup-counterexample {