Browse Source

fix issue

tags/v1.22.11.1^2
zhoupzh 3 years ago
parent
commit
c5feced4f1
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      templates/user/profile.tmpl

+ 4
- 0
templates/user/profile.tmpl View File

@@ -184,6 +184,7 @@
<a class='{{if eq .TabName "badge"}}active{{end}} item' href="{{.Owner.HomeLink}}?tab=badge">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="16"><path fill="none" d="M0 0h24v24H0z"/><path d="M17 15.245v6.872a.5.5 0 0 1-.757.429L12 20l-4.243 2.546a.5.5 0 0 1-.757-.43v-6.87a8 8 0 1 1 10 0zM12 15a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm0-2a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/></svg>
{{.i18n.Tr "user.badge"}}
<div class="ui label">{{.TotalBadges}}</div>
</a>
</div>
@@ -246,5 +247,8 @@
.user.profile .ui.card .extra.content ul {
padding: 5px 0;
}
.ui.secondary.pointing.menu .item{
padding: 0.78571429em 0.92857143em;
}

</style>

Loading…
Cancel
Save