修复项目issue中,图片显示超出边界的问题
This commit is contained in:
parent
eac31cda7f
commit
e9d61a928a
|
@ -119,7 +119,7 @@ module JournalsHelper
|
|||
content << textAreailizable(journal, :notes)
|
||||
css_classes = "wiki"
|
||||
css_classes << " editable" if editable
|
||||
content_tag('div', content.html_safe, :id => "journal-#{journal.id}-notes", :class => css_classes ,:style => "width:510px")
|
||||
content_tag('div', content.html_safe, :id => "journal-#{journal.id}-notes", :class => css_classes)
|
||||
end
|
||||
|
||||
def link_to_in_place_notes_editor(text, field_id, url, options={})
|
||||
|
|
|
@ -221,6 +221,7 @@ a:hover.talk_btn{ background:#2a9dc1;}
|
|||
/****讨论区内页***/
|
||||
.mt0{ margin-top:0px;}
|
||||
.talk_info{ color:#7d7d7d; margin-left:60px; margin-top:10px;}
|
||||
.talk_info img {max-width:100%;}
|
||||
a.talk_edit{ color:#426e9a; margin-right:5px;}
|
||||
a:hover.talk_edit{ color:#ff5722;}
|
||||
.talk_reply { background:#eeeeee; padding:10px; margin-bottom:10px;}
|
||||
|
@ -877,4 +878,6 @@ a:hover.Reply_pic{border:1px solid #64bdd9;}
|
|||
|
||||
/*version*/
|
||||
.time_tracter{color: #64BDD9;padding: 5px;}
|
||||
.wiki {width: 510px;}
|
||||
.wiki img {max-width:100%;}
|
||||
|
||||
|
|
Loading…
Reference in New Issue