Skip to content

Commit c0f97f2

Browse files
MayMeowtechknowlogick
authored andcommitted
add marking to title_wip_desc (#8705)
Signed-off-by: May <themaymeow@gmail.com>
1 parent c4f9d06 commit c0f97f2

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

public/css/index.css

+1
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,7 @@ tbody.commit-list{vertical-align:baseline}
898898
.file-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px!important}
899899
.file-info{display:flex;align-items:center}
900900
.file-info-entry+.file-info-entry{border-left:1px solid currentColor;margin-left:8px;padding-left:8px}
901+
.title_wip_desc{margin-top:1em}
901902
.CodeMirror{font:14px 'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace}
902903
.CodeMirror.cm-s-default{border-radius:3px;padding:0!important}
903904
.CodeMirror .cm-comment{background:inherit!important}

public/less/_repository.less

+4
Original file line numberDiff line numberDiff line change
@@ -2456,3 +2456,7 @@ tbody.commit-list {
24562456
margin-left: 8px;
24572457
padding-left: 8px;
24582458
}
2459+
2460+
.title_wip_desc {
2461+
margin-top: 1em;
2462+
}

templates/repo/issue/new_form.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="field">
1616
<input name="title" id="issue_title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" tabindex="3" autofocus required>
1717
{{if .PageIsComparePull}}
18-
<span class="title_wip_desc">{{.i18n.Tr "repo.pulls.title_wip_desc" (index .PullRequestWorkInProgressPrefixes 0| Escape) | Safe}}</span>
18+
<div class="title_wip_desc">{{.i18n.Tr "repo.pulls.title_wip_desc" (index .PullRequestWorkInProgressPrefixes 0| Escape) | Safe}}</div>
1919
{{end}}
2020
</div>
2121
{{template "repo/issue/comment_tab" .}}

0 commit comments

Comments
 (0)