From cdd55eda142dfc4c950bc94de031a133320ddfba Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 22 Feb 2012 22:52:45 -0800 Subject: [PATCH] Use absolute widths for Maniphest task columns instead of "min-width" plus "width: ...%" Summary: There's an occasional display glitch with the current CSS (http://cl.ly/2B0Q2l3T0N2n3M0k092A) that we think this will fix. Seems least-bad in light of this: https://secure.phabricator.com/file/data/2f5wamew66aggnlqw7oo/PHID-FILE-aikqvnrmw525cn2wfzb2/widenarrow.png Test Plan: Looked at Maniphest in a couple of browsers at different screen widths. Reviewers: paularmstrong, btrahan Reviewed By: btrahan CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1669 --- src/__celerity_resource_map__.php | 2 +- .../css/application/maniphest/task-summary.css | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index 78a0e84f51..b5c2964f15 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -1274,7 +1274,7 @@ celerity_register_resource_map(array( ), 'maniphest-task-summary-css' => array( - 'uri' => '/res/14cb4b5d/rsrc/css/application/maniphest/task-summary.css', + 'uri' => '/res/44e5169a/rsrc/css/application/maniphest/task-summary.css', 'type' => 'css', 'requires' => array( diff --git a/webroot/rsrc/css/application/maniphest/task-summary.css b/webroot/rsrc/css/application/maniphest/task-summary.css index 3a9277960d..6883a97a0a 100644 --- a/webroot/rsrc/css/application/maniphest/task-summary.css +++ b/webroot/rsrc/css/application/maniphest/task-summary.css @@ -20,20 +20,18 @@ .maniphest-task-summary td.maniphest-task-number { font-weight: bold; color: #444444; - width: 1%; - min-width: 80px; + width: 60px; border-left-width: 3px; border-left-style: solid; } .maniphest-task-summary td.maniphest-task-status { - width: 6%; + width: 80px; text-align: center; - min-width: 75px; } .maniphest-task-summary td.maniphest-task-owner { - width: 11%; + width: 100px; } .maniphest-task-summary td.maniphest-task-name { @@ -43,14 +41,12 @@ } .maniphest-task-summary td.maniphest-task-priority { - width: 11%; - min-width: 120px; + width: 80px; } .maniphest-task-summary td.maniphest-task-updated { text-align: left; - width: 13%; - min-width: 160px; + width: 180px; } .maniphest-task-summary .pri-bullet {