From 2be4127f5a17c5b6f331fc158b021e336de111c1 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Fri, 2 May 2014 14:25:05 -0700 Subject: [PATCH] Fix Aphront Filter on mobile Summary: Some of this CSS causes fake margins on mobile devices. Fixes the margin and widths for consistency. Test Plan: Test a number of filter interfaces on iOS, Maniphest, Differential, etc. {F150024} Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D8959 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/aphront/list-filter-view.css | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 73632cc8bb..0d4fe61a2c 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ return array( 'names' => array( - 'core.pkg.css' => '94fe8187', + 'core.pkg.css' => 'f6bd0a00', 'core.pkg.js' => '417722ff', 'darkconsole.pkg.js' => 'ca8671ce', 'differential.pkg.css' => '4b8686e3', @@ -23,7 +23,7 @@ return array( 'rsrc/css/aphront/dialog-view.css' => 'c01d24b4', 'rsrc/css/aphront/error-view.css' => '9f1d5518', 'rsrc/css/aphront/lightbox-attachment.css' => '7acac05d', - 'rsrc/css/aphront/list-filter-view.css' => 'ef989c67', + 'rsrc/css/aphront/list-filter-view.css' => '2ae43867', 'rsrc/css/aphront/multi-column.css' => '12f65921', 'rsrc/css/aphront/notification.css' => 'ef2c9b34', 'rsrc/css/aphront/pager-view.css' => '2e3539af', @@ -490,7 +490,7 @@ return array( 'aphront-dark-console-css' => '6378ef3d', 'aphront-dialog-view-css' => 'c01d24b4', 'aphront-error-view-css' => '9f1d5518', - 'aphront-list-filter-view-css' => 'ef989c67', + 'aphront-list-filter-view-css' => '2ae43867', 'aphront-multi-column-view-css' => '12f65921', 'aphront-pager-view-css' => '2e3539af', 'aphront-panel-view-css' => '5846dfa2', diff --git a/webroot/rsrc/css/aphront/list-filter-view.css b/webroot/rsrc/css/aphront/list-filter-view.css index 6d432cda57..b8c4fe3dc9 100644 --- a/webroot/rsrc/css/aphront/list-filter-view.css +++ b/webroot/rsrc/css/aphront/list-filter-view.css @@ -15,7 +15,7 @@ } .device-phone .aphront-list-filter-wrap { - margin: 0 -2px; + margin: 0 8px; } .aphront-list-filter-view-content .phui-form-view { @@ -62,9 +62,9 @@ } .device .aphront-list-filter-reveal { - width: 98%; + width: auto; margin: auto; - padding: 8px; + padding: 4px 8px; } .aphront-list-filter-reveal a {