Skip to content

Commit

Permalink
Fix create repository page's help text (go-gitea#20810)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusted authored and Sysoev, Vladimir committed Aug 28, 2022
1 parent 504d7c7 commit e6e7d14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/user/auth/signup_inner.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion web_src/less/_form.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e6e7d14

Please sign in to comment.