Clean up some card issues

Summary:
Ref T2826.

  - Adds a min height (arbitrarily, height of the gradient; other choices are 60px [title + avatar], or 70px [title + projects + closed + avatar]).
  - Color bars 4px -> 6px.
  - Fixes profile image clipping in Firefox, etc.
  - Removes background color from avatars, for transparent GIFs and such.
  - Fixes shift-click to select tasks in views that can't be grabbed.

Test Plan: {F37535}

Reviewers: chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T2826

Differential Revision: https://secure.phabricator.com/D5436
This commit is contained in:
epriestley
2013-03-23 18:38:03 -07:00
parent dcfe011fc7
commit 58a15ad250
4 changed files with 48 additions and 42 deletions

View File

@@ -373,7 +373,7 @@ final class PhabricatorObjectItemView extends AphrontTagView {
$options = array(
'class' => 'phabricator-object-item-handle-icon',
'style' => 'background: url('.$handle->getImageURI().')',
'style' => 'background-image: url('.$handle->getImageURI().')',
);
if (strlen($label)) {