个人主页留言图片最大宽度为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 class="cl"></div>
<div class="message_list_box" id="user_jour_list">
<div class="message_list_box " id="user_jour_list">
<%if @jour%>
<% @jour.each do |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}
a:link,a:visited{color:#7f7f7f;text-decoration:none;}
a:hover,a:active{color:#000;}
img{max-width: 100%;}
/*常用*/
select,input,textarea{ border:1px solid #64bdd9; background:#fff; color:#000; padding-left:5px; }
@ -429,4 +430,4 @@ div.flash.warning, .conflict {
a.box_close{ display:block; float:right; width:16px; height:16px; background:url(../images/img_floatbox.png) 0 0 no-repeat;}
a:hover.box_close{background:url(../images/img_floatbox.png) -22px 0 no-repeat;}
div.ke-statusbar{height:1px; border-top:none;}
div.ke-statusbar{height:1px; border-top:none;}