aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/css/index.css1
-rw-r--r--public/less/_repository.less4
-rw-r--r--templates/repo/issue/new_form.tmpl2
3 files changed, 6 insertions, 1 deletions
diff --git a/public/css/index.css b/public/css/index.css
index e74bc10d74..dca2d6f0b6 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -898,6 +898,7 @@ tbody.commit-list{vertical-align:baseline}
.file-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px!important}
.file-info{display:flex;align-items:center}
.file-info-entry+.file-info-entry{border-left:1px solid currentColor;margin-left:8px;padding-left:8px}
+.title_wip_desc{margin-top:1em}
.CodeMirror{font:14px 'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace}
.CodeMirror.cm-s-default{border-radius:3px;padding:0!important}
.CodeMirror .cm-comment{background:inherit!important}
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 488f850443..d585eb03a6 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -2456,3 +2456,7 @@ tbody.commit-list {
margin-left: 8px;
padding-left: 8px;
}
+
+.title_wip_desc {
+ margin-top: 1em;
+}
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl
index 99a68bc76e..d0e124a178 100644
--- a/templates/repo/issue/new_form.tmpl
+++ b/templates/repo/issue/new_form.tmpl
@@ -15,7 +15,7 @@
<div class="field">
<input name="title" id="issue_title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" tabindex="3" autofocus required>
{{if .PageIsComparePull}}
- <span class="title_wip_desc">{{.i18n.Tr "repo.pulls.title_wip_desc" (index .PullRequestWorkInProgressPrefixes 0| Escape) | Safe}}</span>
+ <div class="title_wip_desc">{{.i18n.Tr "repo.pulls.title_wip_desc" (index .PullRequestWorkInProgressPrefixes 0| Escape) | Safe}}</div>
{{end}}
</div>
{{template "repo/issue/comment_tab" .}}