1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

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
This commit is contained in:
Ricky Elrod 2012-07-26 16:25:56 -04:00
parent c614af53bf
commit 0fb93e5423

View file

@ -33,7 +33,7 @@ final class AphrontFormImageControl extends AphrontFormControl {
'name' => $this->getName(),
'class' => 'image',
)).
'<span>-or-</span>'.
'<div style="clear: both;">'.
phutil_render_tag(
'input',
array(
@ -47,7 +47,8 @@ final class AphrontFormImageControl extends AphrontFormControl {
array(
'for' => $id,
),
'Use Default Image');
'Use Default Image instead').
'</div>';
}
}