diff options
author | modmew8 <modmew8@gmail.com> | 2018-02-06 11:22:31 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-02-06 12:22:31 +0200 |
commit | ffd0062438a07dff73c949a0a963e62c5a29abf8 (patch) | |
tree | 7ae9488f8720d7e6af69d8d43d9d229d3cc6403e /templates/repo/issue | |
parent | a2648281a044f33da5492c9d7aaddb6523b65f3a (diff) | |
download | gitea-ffd0062438a07dff73c949a0a963e62c5a29abf8.tar.gz gitea-ffd0062438a07dff73c949a0a963e62c5a29abf8.zip |
Fix checklist padding (#3460)
* Changed style of checklist in issuelist.
* Adjusted padding for progressbar, updated index.css.
* Fixed another wrong tab to spaces.
Signed-off-by: modmew8 <modmew8@gmail.com>
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/list.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 642458ff1e..794a488134 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -203,7 +203,9 @@ {{$tasks := .GetTasks}} {{if gt $tasks 0}} {{$tasksDone := .GetTasksDone}} - <span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span> + <span class="checklist"> + <span class="octicon octicon-checklist"></span> {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span> + </span> {{end}} {{if .Milestone}} <a class="milestone" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}"> |