diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-08-19 04:13:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 22:13:08 -0400 |
commit | fad0e7a497ee31cb3f3ac2e23867fd5a8beb80d7 (patch) | |
tree | 766328ec2a56c60c4fc7a44945fc9a9ddfe05d87 | |
parent | fc4680ea712fdf89065db882cd9d67946d004500 (diff) | |
download | gitea-fad0e7a497ee31cb3f3ac2e23867fd5a8beb80d7.tar.gz gitea-fad0e7a497ee31cb3f3ac2e23867fd5a8beb80d7.zip |
Fix create repository page's help text (#20810)
-rw-r--r-- | templates/user/auth/signup_inner.tmpl | 2 | ||||
-rw-r--r-- | web_src/less/_form.less | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/auth/signup_inner.tmpl b/templates/user/auth/signup_inner.tmpl index 58380f57d8..b868b77bed 100644 --- a/templates/user/auth/signup_inner.tmpl +++ b/templates/user/auth/signup_inner.tmpl @@ -55,7 +55,7 @@ </div> {{end}} {{if and .EnableCaptcha (eq .CaptchaType "mcaptcha")}} - <div class="inline field df ac db-small"> + <div class="inline field df ac db-small captcha-field"> <span>{{.locale.Tr "captcha"}}</span> <div class="border-secondary w-100-small" id="mcaptcha__widget-container" style="width: 50%; height: 5em"></div> <div class="m-captcha" data-sitekey="{{ .McaptchaSitekey }}" data-instance-url="{{ .McaptchaURL }}"></div> diff --git a/web_src/less/_form.less b/web_src/less/_form.less index c958763216..b59c9bb52f 100644 --- a/web_src/less/_form.less +++ b/web_src/less/_form.less @@ -157,7 +157,7 @@ textarea:focus, } .inline.field > label, - .inline.field > span { + .inline.field.captcha-field > span { text-align: right; width: @create-page-form-input-padding; word-wrap: break-word; |