mirror of
1
Fork 0

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
1 changed files with 1 additions and 1 deletions

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