From 0fb93e54235b87642bd8ed1b91921390aa757417 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Thu, 26 Jul 2012 16:25:56 -0400 Subject: [PATCH] Fix an overlap between two elements of the Image form input. Summary: The filename field and the checkbox to select the default image were overlapping in Firefox on Linux on both the Project Edit page and the Profile Edit page. Test Plan: Looked at both of the pages and saw that they rendered better. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3079 --- src/view/form/control/AphrontFormImageControl.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/view/form/control/AphrontFormImageControl.php b/src/view/form/control/AphrontFormImageControl.php index 0e68d10141..aa31d0de76 100644 --- a/src/view/form/control/AphrontFormImageControl.php +++ b/src/view/form/control/AphrontFormImageControl.php @@ -33,7 +33,7 @@ final class AphrontFormImageControl extends AphrontFormControl { 'name' => $this->getName(), 'class' => 'image', )). - '-or-'. + '
'. phutil_render_tag( 'input', array( @@ -47,7 +47,8 @@ final class AphrontFormImageControl extends AphrontFormControl { array( 'for' => $id, ), - 'Use Default Image'); + 'Use Default Image instead'). + '
'; } }