fix #650
parent
ffed61dfeb
commit
ad7b8ea340
|
@ -429,7 +429,7 @@ ListItemTypeDirective = ->
|
|||
|
||||
TgProgressBarDirective = ->
|
||||
template = _.template("""
|
||||
<div class="current-progress" style="width: calc(<%- percentage %>% - 4px)"></div>
|
||||
<div class="current-progress" style="width: <%- percentage %>%"></div>
|
||||
""")
|
||||
|
||||
render = (el, percentage) ->
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
div.summary
|
||||
div.summary-progress-bar(tg-progress-bar="stats.completedPercentage")
|
||||
div.current-progress(style="width: {{stats.completedPercentage}}")
|
||||
div.data
|
||||
span.number(tg-bind-html="stats.completedPercentage + '%'")
|
||||
ul
|
||||
|
|
|
@ -48,17 +48,15 @@
|
|||
.summary-progress-bar {
|
||||
background: $whitish;
|
||||
float: left;
|
||||
height: 31px;
|
||||
height: 30px;
|
||||
margin-bottom: 0;
|
||||
margin-right: 10px;
|
||||
padding: 3px;
|
||||
position: relative;
|
||||
width: 20%;
|
||||
.current-progress {
|
||||
background: $fresh-taiga;
|
||||
height: 24px;
|
||||
left: 2px;
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
width: calc(30% - 4px);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue