diff options
author | silverwind <me@silverwind.io> | 2024-04-22 13:21:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 11:21:06 +0000 |
commit | aff7b7bdd285cc1fcabea774f153886e11ae9f5d (patch) | |
tree | 7a22999e3c8b347b87830747017fc552fb3922b1 /templates/repo/settings/collaboration.tmpl | |
parent | 0386a42f70d1026c50697b12378f5026a63182b9 (diff) | |
download | gitea-aff7b7bdd285cc1fcabea774f153886e11ae9f5d.tar.gz gitea-aff7b7bdd285cc1fcabea774f153886e11ae9f5d.zip |
Remove obsolete CSS text classes (#30576)
- `.text-thin` and `.text-italic` are not present in CSS so were doing nothing and I removed them.
- `.text.middle` was unused so I removed it.
- `.text.italic` is replaced with `tw-italic`.
- `.text.normal` had exactly one use and it wasn't even needed.
- add a `muted` class to the link to `org_profile_avatar.tmpl`.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo/settings/collaboration.tmpl')
-rw-r--r-- | templates/repo/settings/collaboration.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl index 2a4ec577e7..ed4d5e7eb3 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -29,7 +29,7 @@ </div> </div> </div> - <button class="ui red tiny button inline text-thin delete-button" data-url="{{$.Link}}/delete" data-id="{{.ID}}"> + <button class="ui red tiny button inline delete-button" data-url="{{$.Link}}/delete" data-id="{{.ID}}"> {{ctx.Locale.Tr "repo.settings.delete_collaborator"}} </button> </div> @@ -75,7 +75,7 @@ </div> {{if $allowedToChangeTeams}} <div class="flex-item-trailing" {{if .IncludesAllRepositories}} data-tooltip-content="{{ctx.Locale.Tr "repo.settings.delete_team_tip"}}"{{end}}> - <button class="ui red tiny button inline text-thin delete-button {{if .IncludesAllRepositories}}disabled{{end}}" data-url="{{$.Link}}/team/delete" data-id="{{.ID}}"> + <button class="ui red tiny button inline delete-button {{if .IncludesAllRepositories}}disabled{{end}}" data-url="{{$.Link}}/team/delete" data-id="{{.ID}}"> {{ctx.Locale.Tr "repo.settings.delete_collaborator"}} </button> </div> |