margin-right: 10px;
}
}
+
+ .buttons input[type="submit"] {
+ display: inline-block;
+ margin-bottom:0;
+ width:99px;
+ min-width:99px;
+ }
+ .buttons input:first-child {
+ border-radius:2px 0 0 2px;
+ margin-right:1px;
+ }
+ .buttons input:last-child {
+ border-radius:0 2px 2px 0;
+ }
}
/* Rules for the user notes list */
output_buffer << content_tag(:div, :id => "#{id}_help", :class => "richtext_help") do
output_buffer << render("site/#{format}_help")
- output_buffer << submit_tag(I18n.t("site.richtext_area.edit"), :id => "#{id}_doedit", :class => "richtext_doedit", :disabled => true)
- output_buffer << submit_tag(I18n.t("site.richtext_area.preview"), :id => "#{id}_dopreview", :class => "richtext_dopreview")
+ output_buffer << content_tag(:div, :class => "buttons") do
+ output_buffer << submit_tag(I18n.t("site.richtext_area.edit"), :id => "#{id}_doedit", :class => "richtext_doedit", :disabled => true)
+ output_buffer << submit_tag(I18n.t("site.richtext_area.preview"), :id => "#{id}_dopreview", :class => "richtext_dopreview")
+ end
end
end
end