Fix create repository page's help text (#20810)

tokarchuk/v1.18
Gusted 2 years ago committed by GitHub
parent fc4680ea71
commit fad0e7a497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/user/auth/signup_inner.tmpl
  2. 2
      web_src/less/_form.less

@ -55,7 +55,7 @@
</div> </div>
{{end}} {{end}}
{{if and .EnableCaptcha (eq .CaptchaType "mcaptcha")}} {{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> <span>{{.locale.Tr "captcha"}}</span>
<div class="border-secondary w-100-small" id="mcaptcha__widget-container" style="width: 50%; height: 5em"></div> <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> <div class="m-captcha" data-sitekey="{{ .McaptchaSitekey }}" data-instance-url="{{ .McaptchaURL }}"></div>

@ -157,7 +157,7 @@ textarea:focus,
} }
.inline.field > label, .inline.field > label,
.inline.field > span { .inline.field.captcha-field > span {
text-align: right; text-align: right;
width: @create-page-form-input-padding; width: @create-page-form-input-padding;
word-wrap: break-word; word-wrap: break-word;

Loading…
Cancel
Save