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"}} {{ctx.Locale.Tr "repo.settings.options"}}
</a> </a>
<details class="item toggleable-item" {{if .PageIsRepoSettingsUnits}}open{{end}}> <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"> <div class="menu">
<a class="item" href="{{.RepoLink}}/settings/units#overview"> <a class="item" href="{{.RepoLink}}/settings/units#overview">
{{ctx.Locale.Tr "repo.settings.units.overview"}} {{ctx.Locale.Tr "repo.settings.units.overview"}}