From 42ed5241204d05dfaa4edfb6018ef69aeead1c1a Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 3 Sep 2015 11:03:21 -0700 Subject: [PATCH] Break long strings in all remarkup areas Summary: Fixes T9264. I'm surprised this hasn't come up before, but any long string or URL in remarkup will overflow and cause remarkup areas to scroll. Prefer breaking these words. Test Plan: Review a timeline feed in Differential and a Ponder answer. {F768105} Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T9264 Differential Revision: https://secure.phabricator.com/D14018 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/core/remarkup.css | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index a58be05060..c1f7fef804 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '994de4ed', + 'core.pkg.css' => '31e4c86b', 'core.pkg.js' => '47dc9ebb', 'darkconsole.pkg.js' => 'e7393ebb', 'differential.pkg.css' => '2de124c9', @@ -104,7 +104,7 @@ return array( 'rsrc/css/application/tokens/tokens.css' => '3d0f239e', 'rsrc/css/application/uiexample/example.css' => '528b19de', 'rsrc/css/core/core.css' => 'a76cefc9', - 'rsrc/css/core/remarkup.css' => '73fc4395', + 'rsrc/css/core/remarkup.css' => 'ef286a6e', 'rsrc/css/core/syntax.css' => '9fd11da8', 'rsrc/css/core/z-index.css' => '57ddcaa2', 'rsrc/css/diviner/diviner-shared.css' => '5a337049', @@ -737,7 +737,7 @@ return array( 'phabricator-object-selector-css' => '85ee8ce6', 'phabricator-phtize' => 'd254d646', 'phabricator-prefab' => '6920d200', - 'phabricator-remarkup-css' => '73fc4395', + 'phabricator-remarkup-css' => 'ef286a6e', 'phabricator-search-results-css' => '7dea472c', 'phabricator-shaped-request' => '7cbe244b', 'phabricator-side-menu-view-css' => 'bec2458e', diff --git a/webroot/rsrc/css/core/remarkup.css b/webroot/rsrc/css/core/remarkup.css index cba6ba0e98..207b69618c 100644 --- a/webroot/rsrc/css/core/remarkup.css +++ b/webroot/rsrc/css/core/remarkup.css @@ -4,6 +4,7 @@ .phabricator-remarkup { line-height: 1.51em; + word-break: break-word; } .phabricator-remarkup p {