From 5ce6ca27680ee52488db28112259cb12daa04e5b Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 30 Sep 2014 09:47:54 -0700 Subject: [PATCH] Fix mobile CSS for lint/unit results table Summary: Removes nowrap when on mobile devices. Test Plan: Test Lint/Unit layout on mobile and table layouts Reviewers: epriestley, btrahan Reviewed By: btrahan Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10608 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/application/differential/results-table.css | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 15e4691c7e..2e239bd3e3 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -10,7 +10,7 @@ return array( 'core.pkg.css' => 'fe2446e9', 'core.pkg.js' => 'cbdbd552', 'darkconsole.pkg.js' => 'df001cab', - 'differential.pkg.css' => '36884139', + 'differential.pkg.css' => '0f9c3082', 'differential.pkg.js' => '73337d1d', 'diffusion.pkg.css' => '591664fa', 'diffusion.pkg.js' => 'bfc0737b', @@ -56,7 +56,7 @@ return array( 'rsrc/css/application/differential/add-comment.css' => 'c478bcaa', 'rsrc/css/application/differential/changeset-view.css' => 'b2b71e76', 'rsrc/css/application/differential/core.css' => '7ac3cabc', - 'rsrc/css/application/differential/results-table.css' => '239924f9', + 'rsrc/css/application/differential/results-table.css' => '181aa9d9', 'rsrc/css/application/differential/revision-comment.css' => '48186045', 'rsrc/css/application/differential/revision-history.css' => '0e8eb855', 'rsrc/css/application/differential/revision-list.css' => 'f3c47d33', @@ -522,7 +522,7 @@ return array( 'differential-changeset-view-css' => 'b2b71e76', 'differential-core-view-css' => '7ac3cabc', 'differential-inline-comment-editor' => 'f2441746', - 'differential-results-table-css' => '239924f9', + 'differential-results-table-css' => '181aa9d9', 'differential-revision-add-comment-css' => 'c478bcaa', 'differential-revision-comment-css' => '48186045', 'differential-revision-history-css' => '0e8eb855', diff --git a/webroot/rsrc/css/application/differential/results-table.css b/webroot/rsrc/css/application/differential/results-table.css index 65c3241f3b..80d8ad1756 100644 --- a/webroot/rsrc/css/application/differential/results-table.css +++ b/webroot/rsrc/css/application/differential/results-table.css @@ -18,6 +18,10 @@ table.differential-results-table { background: #f7f7f7; } +.device .differential-results-table th { + white-space: normal; +} + .differential-results-table td { padding: 0 8px; margin: 0;