mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
elofgren: USABILITY: Increase height of ImageField? iframe to make room for padding around fieldset. Also increase width of 'Replace Image' block to make the image drop-down fit. This change goes with r37020
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41792 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c6dc670cff
commit
568489ede7
@ -16,7 +16,7 @@ class ImageField extends FileField {
|
||||
$parentClass = $data->class;
|
||||
$parentField = $this->name;
|
||||
|
||||
$iframe = "<iframe name=\"{$this->name}_iframe\" src=\"images/iframe/$parentClass/$parentID/$parentField\" style=\"height: 132px; width: 600px; border-style: none;\"></iframe>";
|
||||
$iframe = "<iframe name=\"{$this->name}_iframe\" src=\"images/iframe/$parentClass/$parentID/$parentField\" style=\"height: 152px; width: 600px; border-style: none;\"></iframe>";
|
||||
|
||||
return $iframe . $hiddenField;
|
||||
} else {
|
||||
|
@ -12,7 +12,7 @@
|
||||
</div>
|
||||
<% end_if %>
|
||||
|
||||
<div class="mainblock" style="width: 240px;">
|
||||
<div class="mainblock" style="width: 290px;">
|
||||
<% if UseSimpleForm %>
|
||||
$EditImageSimpleForm
|
||||
<% else %>
|
||||
|
Loading…
Reference in New Issue
Block a user