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> (cherry picked from commit aff7b7bdd285cc1fcabea774f153886e11ae9f5d)
This commit is contained in:
parent
02316e1e40
commit
31b608a1e9
9 changed files with 11 additions and 27 deletions
|
@ -46,7 +46,7 @@
|
|||
</div>
|
||||
{{else}}
|
||||
<div class="flex-item">
|
||||
<span class="text grey italic">{{ctx.Locale.Tr "org.teams.members.none"}}</span>
|
||||
<span class="text grey tw-italic">{{ctx.Locale.Tr "org.teams.members.none"}}</span>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
</div>
|
||||
{{else}}
|
||||
<div class="flex-item">
|
||||
<span class="text grey italic">{{ctx.Locale.Tr "org.teams.repos.none"}}</span>
|
||||
<span class="text grey tw-italic">{{ctx.Locale.Tr "org.teams.repos.none"}}</span>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
{{if .Team.Description}}
|
||||
{{.Team.Description}}
|
||||
{{else}}
|
||||
<span class="text grey italic">{{ctx.Locale.Tr "org.teams.no_desc"}}</span>
|
||||
<span class="text grey tw-italic">{{ctx.Locale.Tr "org.teams.no_desc"}}</span>
|
||||
{{end}}
|
||||
</div>
|
||||
{{if eq .Team.LowerName "owners"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue