mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 09:54:24 +01: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:
parent
ef9df01cd2
commit
70aefc810c
|
@ -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"}}
|
||||||
|
|
Loading…
Reference in a new issue