aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-08-25 14:47:59 +0800
committerGitHub <noreply@github.com>2023-08-25 06:47:59 +0000
commitee9e83b230981437acf8c331e93a41cdc95af443 (patch)
treef6fa42c48edd94080c7f591c0b80a6cabc9ede58 /templates/user
parent636b6eaf2aa987c2fe530aafdbb9f50a2f58afa5 (diff)
downloadgitea-ee9e83b230981437acf8c331e93a41cdc95af443.tar.gz
gitea-ee9e83b230981437acf8c331e93a41cdc95af443.zip
Remove incorrect CSS helper classes (#26712)
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/auth/captcha.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/user/auth/captcha.tmpl b/templates/user/auth/captcha.tmpl
index a71d3bc538..f864aa1d37 100644
--- a/templates/user/auth/captcha.tmpl
+++ b/templates/user/auth/captcha.tmpl
@@ -16,13 +16,13 @@
<div id="captcha" data-captcha-type="h-captcha" class="h-captcha-style" data-sitekey="{{.HcaptchaSitekey}}"></div>
</div>
{{else if eq .CaptchaType "mcaptcha"}}
- <div class="inline field gt-df gt-ac gt-db-small captcha-field">
- <span>{{.locale.Tr "captcha"}}</span>
- <div class="gt-border-secondary gt-w-100-small" id="mcaptcha__widget-container" style="width: 50%; height: 5em"></div>
- <div id="captcha" data-captcha-type="m-captcha" class="m-captcha" data-sitekey="{{.McaptchaSitekey}}" data-instance-url="{{.McaptchaURL}}"></div>
+ <div class="inline field">
+ <label></label>
+ <div class="m-captcha-style" id="mcaptcha__widget-container"></div>
+ <div id="captcha" data-captcha-type="m-captcha" data-sitekey="{{.McaptchaSitekey}}" data-instance-url="{{.McaptchaURL}}"></div>
</div>
{{else if eq .CaptchaType "cfturnstile"}}
- <div class="inline field captcha-field gt-text-center">
+ <div class="inline field gt-text-center">
<div id="captcha" data-captcha-type="cf-turnstile" data-sitekey="{{.CfTurnstileSitekey}}"></div>
</div>
{{end}}{{end}}