Skip to content

Commit bead2c6

Browse files
GustedGusted
authored and
Andreas Shimokawa
committed
CB/bp: Fix create repository page's help text (!40)
- Fix regression from 359d802 - Backport of go-gitea#20810 Co-authored-by: Gusted <[email protected]> Reviewed-on: https://codeberg.org/Codeberg/gitea/pulls/40 Co-authored-by: Gusted <[email protected]> Co-committed-by: Gusted <[email protected]>
1 parent cc675ef commit bead2c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/user/auth/signup_inner.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</div>
5959
{{end}}
6060
{{if and .EnableCaptcha (eq .CaptchaType "mcaptcha")}}
61-
<div class="inline field df ac db-small">
61+
<div class="inline field df ac db-small captcha-field">
6262
<span>{{.locale.Tr "captcha"}}</span>
6363
<div class="border-secondary w-100-small" id="mcaptcha__widget-container" style="width: 50%; height: 5em"></div>
6464
<div class="m-captcha" data-sitekey="{{ .McaptchaSitekey }}" data-instance-url="{{ .McaptchaURL }}"></div>

web_src/less/_form.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ textarea:focus,
157157
}
158158

159159
.inline.field > label,
160-
.inline.field > span {
160+
.inline.field.captcha-field > span {
161161
text-align: right;
162162
width: @create-page-form-input-padding;
163163
word-wrap: break-word;

0 commit comments

Comments
 (0)