mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 11:42: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:
parent
c614af53bf
commit
0fb93e5423
1 changed files with 3 additions and 2 deletions
|
@ -33,7 +33,7 @@ final class AphrontFormImageControl extends AphrontFormControl {
|
||||||
'name' => $this->getName(),
|
'name' => $this->getName(),
|
||||||
'class' => 'image',
|
'class' => 'image',
|
||||||
)).
|
)).
|
||||||
'<span>-or-</span>'.
|
'<div style="clear: both;">'.
|
||||||
phutil_render_tag(
|
phutil_render_tag(
|
||||||
'input',
|
'input',
|
||||||
array(
|
array(
|
||||||
|
@ -47,7 +47,8 @@ final class AphrontFormImageControl extends AphrontFormControl {
|
||||||
array(
|
array(
|
||||||
'for' => $id,
|
'for' => $id,
|
||||||
),
|
),
|
||||||
'Use Default Image');
|
'Use Default Image instead').
|
||||||
|
'</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue