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

Coerce Chrome into breaking monospaced text when printing tables to PDFs

Summary:
See T13564. In Chrome only, printing tables with a cell containing an unbroken monospaced text element fails to wrap/break the cell.

Adding "overflow-wrap" appears to fix this without making anything worse. Try this until new problems arise.

Test Plan: Printed such a table to PDF in Chrome, got wrapping with all content visible in the PDF.

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

+7 -3
+3 -3
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => '0e3cf785', 11 11 'conpherence.pkg.js' => '020aebcf', 12 - 'core.pkg.css' => 'da792a0f', 12 + 'core.pkg.css' => '9b2e2e20', 13 13 'core.pkg.js' => '845355f4', 14 14 'dark-console.pkg.js' => '187792c2', 15 15 'differential.pkg.css' => '5c459f92', ··· 114 114 'rsrc/css/application/tokens/tokens.css' => 'ce5a50bd', 115 115 'rsrc/css/application/uiexample/example.css' => 'b4795059', 116 116 'rsrc/css/core/core.css' => '1b29ed61', 117 - 'rsrc/css/core/remarkup.css' => '7d3ebc86', 117 + 'rsrc/css/core/remarkup.css' => '94c3d777', 118 118 'rsrc/css/core/syntax.css' => '548567f6', 119 119 'rsrc/css/core/z-index.css' => 'ac3bfcd4', 120 120 'rsrc/css/diviner/diviner-shared.css' => '4bd263b0', ··· 798 798 'phabricator-object-selector-css' => 'ee77366f', 799 799 'phabricator-phtize' => '2f1db1ed', 800 800 'phabricator-prefab' => '5793d835', 801 - 'phabricator-remarkup-css' => '7d3ebc86', 801 + 'phabricator-remarkup-css' => '94c3d777', 802 802 'phabricator-search-results-css' => '9ea70ace', 803 803 'phabricator-shaped-request' => '995f5102', 804 804 'phabricator-slowvote-css' => '1694baed',
+4
webroot/rsrc/css/core/remarkup.css
··· 86 86 padding: 1px 4px; 87 87 border-radius: 3px; 88 88 white-space: pre-wrap; 89 + 90 + /* See T13564. This is a narrow control for PDF printing behavior in 91 + Chrome. */ 89 92 line-break: anywhere; 93 + overflow-wrap: anywhere; 90 94 } 91 95 92 96 /* NOTE: You can currently produce this with [[link | `name`]]. Restore the