From c0e357345412f8e1d73029652e443db8722a4e36 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 2 Feb 2017 14:08:13 -0800 Subject: [PATCH] Break long words on txt files in Diffusion Summary: Fixes T12163. We don't send txt files through a pygment highlighter, so the break-word needs to also just apply to diffusion-source. Test Plan: Test in Chrome Inspector Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12163 Differential Revision: https://secure.phabricator.com/D17303 --- resources/celerity/map.php | 4 ++-- webroot/rsrc/css/application/diffusion/diffusion-source.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index e72d411649..f8cee9cf98 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -67,7 +67,7 @@ return array( 'rsrc/css/application/differential/table-of-contents.css' => 'ae4b7a55', 'rsrc/css/application/diffusion/diffusion-icons.css' => 'd678600a', 'rsrc/css/application/diffusion/diffusion-readme.css' => '297373eb', - 'rsrc/css/application/diffusion/diffusion-source.css' => '68b30fd3', + 'rsrc/css/application/diffusion/diffusion-source.css' => '750add59', 'rsrc/css/application/feed/feed.css' => 'ecd4ec57', 'rsrc/css/application/files/global-drag-and-drop.css' => '5c1b47c2', 'rsrc/css/application/flag/flag.css' => 'bba8f811', @@ -582,7 +582,7 @@ return array( 'differential-table-of-contents-css' => 'ae4b7a55', 'diffusion-icons-css' => 'd678600a', 'diffusion-readme-css' => '297373eb', - 'diffusion-source-css' => '68b30fd3', + 'diffusion-source-css' => '750add59', 'diviner-shared-css' => 'aa3656aa', 'font-aleo' => '8bdb2835', 'font-fontawesome' => 'e838e088', diff --git a/webroot/rsrc/css/application/diffusion/diffusion-source.css b/webroot/rsrc/css/application/diffusion/diffusion-source.css index 7f404e3b9b..1af068fe1a 100644 --- a/webroot/rsrc/css/application/diffusion/diffusion-source.css +++ b/webroot/rsrc/css/application/diffusion/diffusion-source.css @@ -26,6 +26,7 @@ padding-bottom: 1px; padding-left: 8px; width: 100%; + word-break: break-all; } .diffusion-browse-type-form {