mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-21 05:42:28 +03:00
3e7101dd64
I am not sure what "new-menu" means, but I think we need to fix these problems: 1. it shouldn't have "stackable", which makes the items stacked when width is small. the `new-menu` already has `overflow: auto` 2. `justify-content: center` doesn't work with `overflow: auto` (for small width), so use `margin: auto` * https://bhch.github.io/posts/2021/04/centring-flex-items-and-allowing-overflow-scroll/ 3. `runner-new-menu` is dead code (copying & pasting ?)
12 lines
528 B
Handlebars
12 lines
528 B
Handlebars
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
|
<div class="new-menu-inner">
|
|
<a class="{{if .PageIsOpenIDConnect}}active {{end}}item" href="{{AppSubUrl}}/user/openid/connect">
|
|
{{.locale.Tr "auth.openid_connect_title"}}
|
|
</a>
|
|
{{if and .EnableOpenIDSignUp (not .AllowOnlyInternalRegistration)}}
|
|
<a class="{{if .PageIsOpenIDRegister}}active {{end}}item" href="{{AppSubUrl}}/user/openid/register">
|
|
{{.locale.Tr "auth.openid_register_title"}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|