1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -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.
This commit is contained in:
Otto Richter 2024-11-10 01:08:56 +01:00
parent ea1ff23f36
commit 5932b86af4

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"}}