IE中“资源搜索”页面样式调整
This commit is contained in:
parent
879e93beb9
commit
a0d90e1697
|
@ -2,7 +2,7 @@
|
|||
<%= render 'search_bar' %>
|
||||
<% end %>
|
||||
|
||||
<div class="resource_sum">
|
||||
<div class="resource_sum" id="IE_resource_sum_css">
|
||||
<% @attach_array.each do |k|%>
|
||||
<div class="line_block" >
|
||||
<p>
|
||||
|
@ -64,5 +64,8 @@
|
|||
$(this).find('img').attr("src", "/images/button/download.png")
|
||||
});
|
||||
});
|
||||
if(navigator.appName=="Microsoft Internet Explorer"){
|
||||
$("#IE_resource_sum_css").children(".line_block").css("width","45%");
|
||||
}
|
||||
});
|
||||
</script>
|
Loading…
Reference in New Issue