From bcbdb44e2fd5523c8e7f1bf9d5328ddbd1ca6ffa Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 15 Apr 2013 15:54:15 -0700 Subject: [PATCH] Fix long URLs on mobile chatlog Summary: Really long words or URLs from IRC break mobile layout, so this breaks the word if it hits the edge of the screen. Test Plan: Duderpooooooooooooooooooooooooooooooooooooooooo Reviewers: epriestley, btrahan Reviewed By: btrahan CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5703 --- src/__celerity_resource_map__.php | 2 +- webroot/rsrc/css/application/chatlog/chatlog.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index 7f1dcdd743..db00431480 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -2878,7 +2878,7 @@ celerity_register_resource_map(array( ), 'phabricator-chatlog-css' => array( - 'uri' => '/res/b5600765/rsrc/css/application/chatlog/chatlog.css', + 'uri' => '/res/5542e247/rsrc/css/application/chatlog/chatlog.css', 'type' => 'css', 'requires' => array( diff --git a/webroot/rsrc/css/application/chatlog/chatlog.css b/webroot/rsrc/css/application/chatlog/chatlog.css index fd46b141cc..1da7fce697 100644 --- a/webroot/rsrc/css/application/chatlog/chatlog.css +++ b/webroot/rsrc/css/application/chatlog/chatlog.css @@ -63,6 +63,7 @@ color: #a1a5a9; font-size: 11px; float: right; + margin-left: 5px; } .phabricator-chat-log td.author { @@ -79,4 +80,5 @@ .phabricator-chat-log td.message { white-space: pre-wrap; + word-break: break-word; }