1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 12:44:49 -05:00

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

This commit is contained in:
Gusted 2022-08-19 04:13:08 +02:00 committed by GitHub
parent fc4680ea71
commit fad0e7a497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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;