Skip to content

Commit f3034b1

Browse files
zeripathmarkormesherlunnyjolheiser
authored
Remove duplicate "Actions" label in mobile view (#21974) (#22439)
Backport #21974 Closes #21973. The "Actions" button on the commit view page is labelled twice in mobile view. No other buttons on the page have a `mobile-only` extra label, so this PR removes it. Before: ![before](https://user-images.githubusercontent.com/6496999/204540002-75baa08a-6c06-4b39-847b-34272e09d71e.PNG) After: ![after](https://user-images.githubusercontent.com/6496999/204539991-a0607765-d5e2-4b1a-84c9-a3e16cbc674e.PNG) Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: Mark Ormesher <[email protected]> Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: John Olheiser <[email protected]>
1 parent d0c74dd commit f3034b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/commit_page.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</a>
2828
{{if and ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}}{{- /* */ -}}
2929
<div class="ui primary tiny floating dropdown icon button">{{.locale.Tr "repo.commit.actions"}}
30-
{{svg "octicon-triangle-down" 14 "dropdown icon"}}<span class="sr-mobile-only">{{.locale.Tr "repo.commit.actions"}}</span>
30+
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
3131
<div class="menu">
3232
<div class="ui header">{{.locale.Tr "repo.commit.actions"}}</div>
3333
<div class="divider"></div>

0 commit comments

Comments
 (0)