un-stretch the link

This commit is contained in:
silverwind 2024-07-24 01:10:09 +02:00
parent c24cd927b8
commit 5b94889774
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,9 @@
{{if or (not .DisablePassword) .LinkAccountMode}}
<div class="required field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}} form-field-content-aside-label">
<label for="password">{{ctx.Locale.Tr "password"}}</label>
<a href="{{AppSubUrl}}/user/forgot_password" tabindex="-1">{{ctx.Locale.Tr "auth.forgot_password"}}</a>
<div>
<a href="{{AppSubUrl}}/user/forgot_password" tabindex="-1">{{ctx.Locale.Tr "auth.forgot_password"}}</a>
</div>
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="current-password" required>
</div>
{{end}}

View File

@ -456,7 +456,6 @@ textarea:focus,
}
.form-field-content-aside-label > *:nth-child(2) {
text-align: right;
margin-bottom: 4px;
}
.form-field-content-aside-label input {
grid-column: span 2;