diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-07-08 17:53:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 11:53:56 +0200 |
commit | cc00fd50f31c819bf575cbf4a48a4bf8bf2a340e (patch) | |
tree | 3d80d0855be0c7d55aa575a906c49bb4590b5c01 /templates/user | |
parent | 62f3c0fe76f215cbe88b1a76408b09d74ad14f92 (diff) | |
download | gitea-cc00fd50f31c819bf575cbf4a48a4bf8bf2a340e.tar.gz gitea-cc00fd50f31c819bf575cbf4a48a4bf8bf2a340e.zip |
Clarify "text-align" CSS helpers, fix clone button padding (#25763)
Changes:
* Rename gt-tl/gt-tc/gt-tr to gt-text-left/gt-text-center/gt-text-right
* The gt-ab and gt-br-0 are removed because they are not needed anymore
* Fix the clone dropdown button padding by ":not(.icon)"
Before:
<details>
![image](https://github.com/go-gitea/gitea/assets/2114189/eb030633-622c-4ca7-8e88-ce010d9f51a6)
</details>
After:
<details>
![image](https://github.com/go-gitea/gitea/assets/2114189/64c09403-bf21-439c-88f1-780b34ccab6b)
</details>
Fixes #25758
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/auth/captcha.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/auth/captcha.tmpl b/templates/user/auth/captcha.tmpl index 62a3779e55..a71d3bc538 100644 --- a/templates/user/auth/captcha.tmpl +++ b/templates/user/auth/captcha.tmpl @@ -22,7 +22,7 @@ <div id="captcha" data-captcha-type="m-captcha" class="m-captcha" data-sitekey="{{.McaptchaSitekey}}" data-instance-url="{{.McaptchaURL}}"></div> </div> {{else if eq .CaptchaType "cfturnstile"}} - <div class="inline field captcha-field gt-tc"> + <div class="inline field captcha-field gt-text-center"> <div id="captcha" data-captcha-type="cf-turnstile" data-sitekey="{{.CfTurnstileSitekey}}"></div> </div> {{end}}{{end}} |