修复带pre标签缺陷留言的显示问题

This commit is contained in:
z9hang 2014-06-19 14:33:57 +08:00
parent 9061a77221
commit f2cb1390da
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ module JournalsHelper
content << textilizable(journal, :notes)
css_classes = "wiki"
css_classes << " editable" if editable
content_tag('div', content.html_safe, :id => "journal-#{journal.id}-notes", :class => css_classes)
content_tag('div', content.html_safe, :id => "journal-#{journal.id}-notes", :class => css_classes ,:style => "width:580px")
end
def link_to_in_place_notes_editor(text, field_id, url, options={})