个人主页留言图片最大宽度为100%

This commit is contained in:
sw 2015-07-30 09:20:54 +08:00
parent 023f51260a
commit 51a7044e05
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@
</div> </div>
<div class="cl"></div> <div class="cl"></div>
<div class="message_list_box" id="user_jour_list"> <div class="message_list_box " id="user_jour_list">
<%if @jour%> <%if @jour%>
<% @jour.each do |jour|%> <% @jour.each do |jour|%>
<%= render :partial => 'user_jours_new', :locals => {:jour => jour} %> <%= render :partial => 'user_jours_new', :locals => {:jour => jour} %>

View File

@ -7,6 +7,7 @@ table,tr,td{border:0;cellspacing:0; cellpadding:0;}
ol,ul,li{ list-style-type:none} ol,ul,li{ list-style-type:none}
a:link,a:visited{color:#7f7f7f;text-decoration:none;} a:link,a:visited{color:#7f7f7f;text-decoration:none;}
a:hover,a:active{color:#000;} a:hover,a:active{color:#000;}
img{max-width: 100%;}
/*常用*/ /*常用*/
select,input,textarea{ border:1px solid #64bdd9; background:#fff; color:#000; padding-left:5px; } select,input,textarea{ border:1px solid #64bdd9; background:#fff; color:#000; padding-left:5px; }