From 90bb14be3fbe8ca877e399144a2600f3bb3ec0d1 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sun, 22 Feb 2015 14:19:52 -0800 Subject: [PATCH] Fix flush object boxes on mobile Summary: On /differential/ we have flush lists inside an object box which on mobile had unwanted padding. This padding shouldn't be set anymore. Test Plan: Reviewed mobile home, differential, maniphest, applications, and uiexamples, noticed no artifacts to removal. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11858 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/phui/phui-object-item-list-view.css | 10 +--------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 60027427d1..f7c9e478e4 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '44adcc42', + 'core.pkg.css' => '4efed816', 'core.pkg.js' => '23d653bb', 'darkconsole.pkg.js' => '8ab24e01', 'differential.pkg.css' => '380f07e5', @@ -138,7 +138,7 @@ return array( 'rsrc/css/phui/phui-info-panel.css' => '27ea50a1', 'rsrc/css/phui/phui-list.css' => '53deb25c', 'rsrc/css/phui/phui-object-box.css' => 'b8b7fd78', - 'rsrc/css/phui/phui-object-item-list-view.css' => '86e05b7c', + 'rsrc/css/phui/phui-object-item-list-view.css' => '12cfa14f', 'rsrc/css/phui/phui-pinboard-view.css' => '3dd4a269', 'rsrc/css/phui/phui-property-list-view.css' => '51480060', 'rsrc/css/phui/phui-remarkup-preview.css' => '19ad512b', @@ -792,7 +792,7 @@ return array( 'phui-info-panel-css' => '27ea50a1', 'phui-list-view-css' => '53deb25c', 'phui-object-box-css' => 'b8b7fd78', - 'phui-object-item-list-view-css' => '86e05b7c', + 'phui-object-item-list-view-css' => '12cfa14f', 'phui-pinboard-view-css' => '3dd4a269', 'phui-property-list-view-css' => '51480060', '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 4b0b0f54f9..361b42a819 100644 --- a/webroot/rsrc/css/phui/phui-object-item-list-view.css +++ b/webroot/rsrc/css/phui/phui-object-item-list-view.css @@ -19,15 +19,7 @@ ul.phui-object-item-list-view { padding: 0; } -.phui-object-box .phui-object-list-flush .phui-object-item { - margin: 0; -} - -.device-phone .phui-object-box - .phui-object-item-list-view.phui-object-list-flush { - padding: 4px; -} - +.phui-object-box .phui-object-list-flush .phui-object-item, .homepage-panel .phui-object-list-flush .phui-object-item { margin: 0; }