From 6a0ec944a13adc1c229e67196f54241de8bc4a35 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 10 Dec 2014 11:40:56 -0800 Subject: [PATCH] On narrow dashboard columns, don't show col2 of obj-item Summary: Hides the second column of info on narrow (33%) columns on dashboards on object-items. Test Plan: Tested a narrow left and narrow right column, 160px is gained back. {F248276} Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D10962 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/phui/phui-object-item-list-view.css | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 0d2e062e88..c1f1e58d7f 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '9b417064', + 'core.pkg.css' => '78b8bd03', 'core.pkg.js' => 'ef8f73ee', 'darkconsole.pkg.js' => 'df001cab', 'differential.pkg.css' => '8af45893', @@ -134,7 +134,7 @@ return array( 'rsrc/css/phui/phui-info-panel.css' => '27ea50a1', 'rsrc/css/phui/phui-list.css' => '43ed2d93', 'rsrc/css/phui/phui-object-box.css' => 'e9f7e938', - 'rsrc/css/phui/phui-object-item-list-view.css' => 'a2e6046f', + 'rsrc/css/phui/phui-object-item-list-view.css' => '19fdb87f', 'rsrc/css/phui/phui-pinboard-view.css' => '3dd4a269', 'rsrc/css/phui/phui-property-list-view.css' => '86f9df88', 'rsrc/css/phui/phui-remarkup-preview.css' => '19ad512b', @@ -783,7 +783,7 @@ return array( 'phui-info-panel-css' => '27ea50a1', 'phui-list-view-css' => '43ed2d93', 'phui-object-box-css' => 'e9f7e938', - 'phui-object-item-list-view-css' => 'a2e6046f', + 'phui-object-item-list-view-css' => '19fdb87f', 'phui-pinboard-view-css' => '3dd4a269', 'phui-property-list-view-css' => '86f9df88', 'phui-remarkup-preview-css' => '19ad512b', diff --git a/webroot/rsrc/css/phui/phui-object-item-list-view.css b/webroot/rsrc/css/phui/phui-object-item-list-view.css index 8f78b6e6bb..f371eb5597 100644 --- a/webroot/rsrc/css/phui/phui-object-item-list-view.css +++ b/webroot/rsrc/css/phui/phui-object-item-list-view.css @@ -692,6 +692,11 @@ ul.phui-object-item-icons { border-bottom: 1px solid {$thinblueborder}; } +.device-desktop .aphront-multi-column-fluid .aphront-multi-column-2-up + .aphront-multi-column-column-outer.third .phui-object-item-col2 { + display: none; + } + /* - Launcher List ---------------------------------------------------------- */