From aba4366020b768d88ee1e3dbb411229fc15dc5be Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 17 Aug 2016 14:57:21 -0700 Subject: [PATCH] Restrict aprhont-form-width to certain input types Summary: Fixes T11491, I believe these are the only two that need to be specified. Test Plan: Checked Create pages for diffs, tasks, projects, events, blogs, login, etc. Mobile/Desktop. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T11491 Differential Revision: https://secure.phabricator.com/D16416 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/phui/phui-form-view.css | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index b45c7d3280..343052c0ce 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '340c5b75', + 'core.pkg.css' => '3cea8606', 'core.pkg.js' => 'b562c3db', 'darkconsole.pkg.js' => 'e7393ebb', 'differential.pkg.css' => '3fb7f532', @@ -135,7 +135,7 @@ return array( 'rsrc/css/phui/phui-document.css' => 'c32e8dec', 'rsrc/css/phui/phui-feed-story.css' => 'aa49845d', 'rsrc/css/phui/phui-fontkit.css' => '9cda225e', - 'rsrc/css/phui/phui-form-view.css' => 'fab0a10f', + 'rsrc/css/phui/phui-form-view.css' => '76b4a46c', 'rsrc/css/phui/phui-form.css' => 'aac1d51d', 'rsrc/css/phui/phui-head-thing.css' => 'fd311e5f', 'rsrc/css/phui/phui-header-view.css' => '06385974', @@ -843,7 +843,7 @@ return array( 'phui-font-icon-base-css' => '6449bce8', 'phui-fontkit-css' => '9cda225e', 'phui-form-css' => 'aac1d51d', - 'phui-form-view-css' => 'fab0a10f', + 'phui-form-view-css' => '76b4a46c', 'phui-head-thing-view-css' => 'fd311e5f', 'phui-header-view-css' => '06385974', 'phui-hovercard' => '1bd28176', diff --git a/webroot/rsrc/css/phui/phui-form-view.css b/webroot/rsrc/css/phui/phui-form-view.css index a3fdac4574..3cf5111692 100644 --- a/webroot/rsrc/css/phui/phui-form-view.css +++ b/webroot/rsrc/css/phui/phui-form-view.css @@ -109,7 +109,8 @@ -webkit-font-smoothing: antialiased; } -.aphront-form-input input { +.aphront-form-input input[type="text"], +.aphront-form-input input[type="password"] { width: 100%; }