Skip to content

Commit 74c9c4e

Browse files
committed
Actually fix the issue; replace icon
1 parent ddd682b commit 74c9c4e

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

templates/repo/commits_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<span class="commit-summary {{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{RenderCommitMessageLinkSubject .Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span>
6767
{{end}}
6868
{{if IsMultilineCommitMessage .Message}}
69-
<button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button>
69+
<button class="basic compact mini ui icon button commit-button">{{svg "octicon-kebab-horizontal" 12}}</button>
7070
{{end}}
7171
{{if eq (CommitType .) "SignCommitWithStatuses"}}
7272
{{template "repo/commit_statuses" dict "Status" .Status "Statuses" .Statuses "root" $}}

templates/repo/view_list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
</a>
2525
{{template "repo/commit_statuses" dict "Status" .LatestCommitStatus "Statuses" .LatestCommitStatuses "root" $}}
2626
{{ $commitLink:= printf "%s/commit/%s" .RepoLink .LatestCommit.ID }}
27-
<span class="grey commit-summary f1 ml-3" title="{{.LatestCommit.Summary}}"><span class="message-wrapper">{{RenderCommitMessageLinkSubject .LatestCommit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span>
27+
<span class="grey commit-summary f1 ml-3" title="{{.LatestCommit.Summary}}"><span class="message-wrapper dif">{{RenderCommitMessageLinkSubject .LatestCommit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span>
2828
{{if IsMultilineCommitMessage .LatestCommit.Message}}
29-
<button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button>
29+
<button class="basic compact mini ui icon button commit-button">{{svg "octicon-kebab-horizontal" 12}}</button>
3030
<pre class="commit-body" style="display: none;">{{RenderCommitBody .LatestCommit.Message $.RepoLink $.Repository.ComposeMetas}}</pre>
3131
{{end}}
3232
</span>

web_src/less/_repository.less

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,16 +2727,17 @@ tbody.commit-list {
27272727
min-width: .5em;
27282728
}
27292729

2730-
.commit-button {
2731-
margin-right: 0;
2732-
margin-left: .25rem;
2733-
}
2734-
27352730
.commit-statuses-trigger {
27362731
flex: 100%;
27372732
}
27382733
}
27392734

2735+
.repository .ui.button.commit-button {
2736+
margin-right: 0;
2737+
margin-left: .25rem;
2738+
padding: 1px 7px;
2739+
}
2740+
27402741
@media (max-width: 480px) {
27412742
#repo-files-table {
27422743
.message {

0 commit comments

Comments
 (0)