修复学生作业列表QQ浏览器显示超出边框

This commit is contained in:
sw 2015-04-15 10:06:52 +08:00
parent d1f42a3954
commit 61df6e144d
2 changed files with 7 additions and 3 deletions

View File

@ -37,6 +37,8 @@
.span_wping a:hover{ background-color:#03a1b3;}
.span_wping_background{background: #CCC !important;}
.font_lighter_sidebar img{max-width: 100%}
/*上传图片处理*/
.upload_img img{max-width: 100%;}
</style>
</head>
<body class="<%= h body_css_classes %>">
@ -122,7 +124,7 @@
<!--count-->
<div class="inf_user_image">
<table>
<table style="width: 100%;">
<% if (User.current.admin?||User.current.allowed_to?(:as_teacher,course)) %>
<tr>
<td valign="top" style="padding-left: 8px; font-size: 15px" colspan="2">
@ -151,8 +153,8 @@
</tr>
<tr>
<td class="font_lighter_sidebar" colspan="2" style="padding-left: 8px;" title="<%= @bid.description %>">
<%= @bid.description.html_safe %>
<td class="font_lighter_sidebar" colspan="2" style="padding-left: 8px;">
<div class="upload_img" style="width: 210px;"><%= @bid.description.html_safe %></div>
</td>
</tr>

View File

@ -184,6 +184,8 @@ a.member_search {
padding: 4px 6px;
text-decoration: none;
}
/*上传图片处理*/
.upload_img img{max-width: 100%;}