Skip to content

Commit 5e11b87

Browse files
committed
add missing "not-mobile"
1 parent 0629952 commit 5e11b87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/repo/star_unstar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{if $.IsStaringRepo}}{{$buttonText = ctx.Locale.Tr "repo.unstar"}}{{end}}
55
<button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}} aria-label="{{$buttonText}}">
66
{{svg (Iif $.IsStaringRepo "octicon-star-fill" "octicon-star")}}
7-
<span aria-hidden="true">{{$buttonText}}</span>
7+
<span class="not-mobile" aria-hidden="true">{{$buttonText}}</span>
88
</button>
99
<a hx-boost="false" class="ui basic label" href="{{$.RepoLink}}/stars">
1010
{{CountFmt .Repository.NumStars}}

templates/repo/watch_unwatch.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{if $.IsWatchingRepo}}{{$buttonText = ctx.Locale.Tr "repo.unwatch"}}{{end}}
55
<button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}} aria-label="{{$buttonText}}">
66
{{svg "octicon-eye"}}
7-
<span aria-hidden="true">{{$buttonText}}</span>
7+
<span class="not-mobile" aria-hidden="true">{{$buttonText}}</span>
88
</button>
99
<a hx-boost="false" class="ui basic label" href="{{.RepoLink}}/watchers">
1010
{{CountFmt .Repository.NumWatches}}

0 commit comments

Comments
 (0)