修复学生作业列表QQ浏览器显示超出边框
This commit is contained in:
parent
d1f42a3954
commit
61df6e144d
|
@ -37,6 +37,8 @@
|
||||||
.span_wping a:hover{ background-color:#03a1b3;}
|
.span_wping a:hover{ background-color:#03a1b3;}
|
||||||
.span_wping_background{background: #CCC !important;}
|
.span_wping_background{background: #CCC !important;}
|
||||||
.font_lighter_sidebar img{max-width: 100%}
|
.font_lighter_sidebar img{max-width: 100%}
|
||||||
|
/*上传图片处理*/
|
||||||
|
.upload_img img{max-width: 100%;}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body class="<%= h body_css_classes %>">
|
<body class="<%= h body_css_classes %>">
|
||||||
|
@ -122,7 +124,7 @@
|
||||||
<!--count-->
|
<!--count-->
|
||||||
|
|
||||||
<div class="inf_user_image">
|
<div class="inf_user_image">
|
||||||
<table>
|
<table style="width: 100%;">
|
||||||
<% if (User.current.admin?||User.current.allowed_to?(:as_teacher,course)) %>
|
<% if (User.current.admin?||User.current.allowed_to?(:as_teacher,course)) %>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top" style="padding-left: 8px; font-size: 15px" colspan="2">
|
<td valign="top" style="padding-left: 8px; font-size: 15px" colspan="2">
|
||||||
|
@ -151,8 +153,8 @@
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="font_lighter_sidebar" colspan="2" style="padding-left: 8px;" title="<%= @bid.description %>">
|
<td class="font_lighter_sidebar" colspan="2" style="padding-left: 8px;">
|
||||||
<%= @bid.description.html_safe %>
|
<div class="upload_img" style="width: 210px;"><%= @bid.description.html_safe %></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
|
@ -184,6 +184,8 @@ a.member_search {
|
||||||
padding: 4px 6px;
|
padding: 4px 6px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
/*上传图片处理*/
|
||||||
|
.upload_img img{max-width: 100%;}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue