1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00

fix(ui): Details icon in repo settings sidebar

Consistent classes between both details/summary constructs in the sidebar, ensuring they have the same style.

(cherry picked from commit 5932b86af4)
This commit is contained in:
Otto Richter 2024-11-10 01:08:56 +01:00 committed by forgejo-backport-action
parent ef9df01cd2
commit 70aefc810c

View file

@ -5,7 +5,7 @@
{{ctx.Locale.Tr "repo.settings.options"}}
</a>
<details class="item toggleable-item" {{if .PageIsRepoSettingsUnits}}open{{end}}>
<summary class="item{{if .PageIsRepoSettingsUnits}} active{{end}}">{{ctx.Locale.Tr "repo.settings.units.units"}}</summary>
<summary {{if .PageIsRepoSettingsUnits}}class="active"{{end}}>{{ctx.Locale.Tr "repo.settings.units.units"}}</summary>
<div class="menu">
<a class="item" href="{{.RepoLink}}/settings/units#overview">
{{ctx.Locale.Tr "repo.settings.units.overview"}}