-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace more gt- with tw- #29678
Replace more gt- with tw- #29678
Conversation
@@ -59,7 +59,7 @@ func (p *AuthSourceProvider) DisplayName() string { | |||
|
|||
func (p *AuthSourceProvider) IconHTML(size int) template.HTML { | |||
if p.iconURL != "" { | |||
img := fmt.Sprintf(`<img class="gt-object-contain gt-mr-3" width="%d" height="%d" src="%s" alt="%s">`, | |||
img := fmt.Sprintf(`<img class="tw-object-contain gt-mr-3" width="%d" height="%d" src="%s" alt="%s">`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does tailwind config scan "*.go" files?
This is the only use of "tw-object-contain"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, we need to fix that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* upstream/main: Patch in exact search for meilisearch (go-gitea#29671) Use more specific selector for `name` links (go-gitea#29679) Replace more gt- with tw- (go-gitea#29678) # Conflicts: # templates/user/dashboard/issues.tmpl
We need to scan `.go` files for tailwind classes. Does not seem to affect build time much luckily. Fixes: #29678 (comment) Verified via `rg tw-object-contain public/assets/css/index.css`. --------- Co-authored-by: Giteabot <teabot@gitea.io>
We need to scan `.go` files for tailwind classes. Does not seem to affect build time much luckily. Fixes: go-gitea/gitea#29678 (comment) Verified via `rg tw-object-contain public/assets/css/index.css`. --------- Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit 1695a5ac74afc51f38fd3a1def76cff6ba8d8641)
This will conclude the trivial class replacements.