Project

General

Profile

Actions

Defect #11

closed

Minor rendering problem within Safari at admin/mail_options...

Added by Chris Grant over 17 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

In views/admin/mail_options.rhtml :

Added a self-clearing DIV so that fieldset border actually contains the checkboxes:

Original:
<% actions.keys.sort.each do |group_id| >
<fieldset style="margin-top: 6px;"><legend><strong><
= l(Permission::GROUPS[group_id])
></strong></legend>
<
actions[group_id].each do |p| >
<div style="width:170px;float:left;"><
= check_box_tag "action_ids[]", p.id, p.mail_enabled?
>
<
= l(p.description.to_sym) >
</div>
<
end >
</fieldset>
<
end %>

Changed:
<% actions.keys.sort.each do |group_id| >
<fieldset style="margin-top: 6px;"><legend><strong><
= l(Permission::GROUPS[group_id])
></strong></legend>
<
actions[group_id].each do |p| >
<div style="width:170px;float:left;"><
= check_box_tag "action_ids[]", p.id, p.mail_enabled?
>
<
= l(p.description.to_sym) >
</div>
<
end >
<div style="clear: both;"></div>
</fieldset>
<
end %>

It's the simple <div style="clear: both"></div> that's been added.

It's a small thing. ;) Thanks for this cool, cool project!


Files

mail_options.rhtml (765 Bytes) mail_options.rhtml Chris Grant, 2008-02-03 10:48
_form.rhtml (729 Bytes) _form.rhtml Chris Grant, 2008-02-03 10:48
Actions

Also available in: Atom PDF