1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Wrap really long text properly in diffs

Summary: Fixes T11236, breaks long words and inlines the spans.

Test Plan:
Use a diff with super long text like SSH keys, set Font to 24/48 Impact

{F1705910}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T11236

Differential Revision: https://secure.phabricator.com/D16198
This commit is contained in:
Chad Little 2016-06-29 20:27:11 -07:00
parent fd0a606f79
commit 922822bd2d
2 changed files with 8 additions and 7 deletions

View file

@ -7,7 +7,7 @@
*/ */
return array( return array(
'names' => array( 'names' => array(
'core.pkg.css' => 'b6b40555', 'core.pkg.css' => 'ee796570',
'core.pkg.js' => 'f2139810', 'core.pkg.js' => 'f2139810',
'darkconsole.pkg.js' => 'e7393ebb', 'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => '3e81ae60', 'differential.pkg.css' => '3e81ae60',
@ -105,7 +105,7 @@ return array(
'rsrc/css/application/uiexample/example.css' => '528b19de', 'rsrc/css/application/uiexample/example.css' => '528b19de',
'rsrc/css/core/core.css' => 'd0801452', 'rsrc/css/core/core.css' => 'd0801452',
'rsrc/css/core/remarkup.css' => '523d34bb', 'rsrc/css/core/remarkup.css' => '523d34bb',
'rsrc/css/core/syntax.css' => '9fc496d5', 'rsrc/css/core/syntax.css' => '769d3498',
'rsrc/css/core/z-index.css' => '5b6fcf3f', 'rsrc/css/core/z-index.css' => '5b6fcf3f',
'rsrc/css/diviner/diviner-shared.css' => 'aa3656aa', 'rsrc/css/diviner/diviner-shared.css' => 'aa3656aa',
'rsrc/css/font/font-aleo.css' => '8bdb2835', 'rsrc/css/font/font-aleo.css' => '8bdb2835',
@ -890,7 +890,7 @@ return array(
'sprite-menu-css' => '9dd65b92', 'sprite-menu-css' => '9dd65b92',
'sprite-tokens-css' => '4f399012', 'sprite-tokens-css' => '4f399012',
'syntax-default-css' => '9923583c', 'syntax-default-css' => '9923583c',
'syntax-highlighting-css' => '9fc496d5', 'syntax-highlighting-css' => '769d3498',
'tokens-css' => '3d0f239e', 'tokens-css' => '3d0f239e',
'typeahead-browse-css' => '8904346a', 'typeahead-browse-css' => '8904346a',
'unhandled-exception-css' => '4c96257a', 'unhandled-exception-css' => '4c96257a',
@ -1463,6 +1463,9 @@ return array(
'javelin-vector', 'javelin-vector',
'javelin-dom', 'javelin-dom',
), ),
'769d3498' => array(
'syntax-default-css',
),
'76b9fc3e' => array( '76b9fc3e' => array(
'javelin-behavior', 'javelin-behavior',
'javelin-stratcom', 'javelin-stratcom',
@ -1674,9 +1677,6 @@ return array(
'javelin-dom', 'javelin-dom',
'javelin-vector', 'javelin-vector',
), ),
'9fc496d5' => array(
'syntax-default-css',
),
'a0b57eb8' => array( 'a0b57eb8' => array(
'javelin-behavior', 'javelin-behavior',
'javelin-dom', 'javelin-dom',

View file

@ -12,7 +12,8 @@
} }
.remarkup-code td span { .remarkup-code td span {
display: inline-block; display: inline;
word-break: break-all;
} }
.remarkup-code .rbw_r { color: red; } .remarkup-code .rbw_r { color: red; }