修复css权重和样式覆盖的问题

This commit is contained in:
virusdefender 2016-05-03 20:46:01 +08:00
parent c1b0d5e854
commit 7350b334c9
No known key found for this signature in database
GPG Key ID: 1686FB5677979E61
2 changed files with 5 additions and 5 deletions

View File

@ -130,8 +130,8 @@ li.problem-tag {
}
li.list-group-item>a{
display: inline;
padding: 0;
margin: 0;
.tag-link{
display: inline!important;
padding: 0!important;
margin: 0!important;
}

View File

@ -78,7 +78,7 @@
<ul class="list-group">
{% for item in tags %}
<li class="list-group-item problem-tag">
<a href="/problems/?tag={{ item.name }}">{{ item.name }}</a>
<a class="tag-link" href="/problems/?tag={{ item.name }}">{{ item.name }}</a>
<span class="badge">{{ item.problem_number }}</span>
</li>
{% endfor %}