Fixes that the settings button moves in the overflow menu

and the add more button is on the right

This fix moves the settings button back to the right and the add more
button back to the left.
This commit is contained in:
Beowulf 2024-04-28 22:40:51 +02:00
commit fb5e36bc6f
No known key found for this signature in database
GPG key ID: 44225F5F2792841D
2 changed files with 15 additions and 1 deletions

View file

@ -177,7 +177,7 @@
{{$highlightSettings := true}}
{{if and .SignedUser.EnableRepoUnitHints (not (.Repository.AllUnitsEnabled ctx))}}
{{$highlightSettings = false}}
<a id="settings-btn" class="{{if .PageIsRepoSettingsUnits}}active {{end}}right item" href="{{.RepoLink}}/settings/units">
<a class="{{if .PageIsRepoSettingsUnits}}active {{end}}item" href="{{.RepoLink}}/settings/units">
{{svg "octicon-diff-added"}} {{ctx.Locale.Tr "repo.settings.units.add_more"}}
</a>
{{end}}