星星显示不全问题
This commit is contained in:
parent
3689b5e228
commit
5034769ab3
|
@ -1,6 +1,6 @@
|
||||||
<span class="user" style="font-size: 15px">
|
<span class="user" style="font-size: 15px">
|
||||||
<div data-kls="HomeworkAttach" data-id="2" data-dimension="quality" data-average="3.25" class="rateable div_inline jDisabled"
|
<div data-kls="HomeworkAttach" data-id="2" data-dimension="quality" data-average="3.25" class="rateable div_inline jDisabled"
|
||||||
style="height: 15px; width: 100px; overflow: hidden; z-index: 1; position: relative;">
|
style="height: 20px; width: 100px; overflow: hidden; z-index: 1; position: relative;">
|
||||||
<% if stars != nil %>
|
<% if stars != nil %>
|
||||||
<div class="jRatingColor" style="width: <%=stars.to_f * 20 %>%;"></div>
|
<div class="jRatingColor" style="width: <%=stars.to_f * 20 %>%;"></div>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
Loading…
Reference in New Issue