File tree 4 files changed +25
-17
lines changed 4 files changed +25
-17
lines changed Original file line number Diff line number Diff line change 1491
1491
.desc {
1492
1492
padding-top : 5px ;
1493
1493
color : #999 ;
1494
- .progress-bar {
1495
- width : 80px ;
1496
- height : 6px ;
1497
- display : inline-block ;
1498
- background-color : #eee ;
1499
- overflow : hidden ;
1500
- border-radius : 3px ;
1501
- vertical-align : middle !important ;
1502
- .progress {
1503
- background-color : #ccc ;
1504
- display : block ;
1505
- height : 100% ;
1506
- }
1507
- }
1494
+ .checklist {
1495
+ padding-left : 5px ;
1496
+ .progress-bar {
1497
+ margin-left : 2px ;
1498
+ width : 80px ;
1499
+ height : 6px ;
1500
+ display : inline-block ;
1501
+ background-color : #eee ;
1502
+ overflow : hidden ;
1503
+ border-radius : 3px ;
1504
+ vertical-align : 2px !important ;
1505
+ .progress {
1506
+ background-color : #ccc ;
1507
+ display : block ;
1508
+ height : 100% ;
1509
+ }
1510
+ }
1511
+ }
1508
1512
a .milestone {
1509
1513
padding-left : 5px ;
1510
1514
color : #999 !important ;
Original file line number Diff line number Diff line change 203
203
{{$tasks := .GetTasks}}
204
204
{{if gt $tasks 0}}
205
205
{{$tasksDone := .GetTasksDone}}
206
- <span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span>
206
+ <span class="checklist">
207
+ <span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span>
208
+ </span>
207
209
{{end}}
208
210
{{if .Milestone}}
209
211
<a class="milestone" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}">
Original file line number Diff line number Diff line change 90
90
{{$tasks := .GetTasks}}
91
91
{{if gt $tasks 0}}
92
92
{{$tasksDone := .GetTasksDone}}
93
- <span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span>
93
+ <span class="checklist">
94
+ <span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span>
95
+ </span>
94
96
{{end}}
95
97
</p>
96
98
</li>
You can’t perform that action at this time.
0 commit comments