diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-08-25 14:47:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 06:47:59 +0000 |
commit | ee9e83b230981437acf8c331e93a41cdc95af443 (patch) | |
tree | f6fa42c48edd94080c7f591c0b80a6cabc9ede58 /templates | |
parent | 636b6eaf2aa987c2fe530aafdbb9f50a2f58afa5 (diff) | |
download | gitea-ee9e83b230981437acf8c331e93a41cdc95af443.tar.gz gitea-ee9e83b230981437acf8c331e93a41cdc95af443.zip |
Remove incorrect CSS helper classes (#26712)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/diff/conversation.tmpl | 2 | ||||
-rw-r--r-- | templates/user/auth/captcha.tmpl | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/diff/conversation.tmpl b/templates/repo/diff/conversation.tmpl index ce344794ea..639dd9cd04 100644 --- a/templates/repo/diff/conversation.tmpl +++ b/templates/repo/diff/conversation.tmpl @@ -37,7 +37,7 @@ {{template "repo/diff/comments" dict "root" $ "comments" .comments}} </ui> </div> - <div class="gt-df gt-je gt-js-small gt-ac gt-fw gt-mt-3"> + <div class="gt-df gt-je gt-ac gt-fw gt-mt-3"> <div class="ui buttons gt-mr-2"> <button class="ui icon tiny basic button previous-conversation"> {{svg "octicon-arrow-up" 12 "icon"}} {{$.locale.Tr "repo.issues.previous"}} 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}} |