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

This commit is contained in:
virusdefender
2016-05-03 20:46:01 +08:00
parent c1b0d5e854
commit 7350b334c9
2 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -78,7 +78,7 @@
<ul class="list-group"> <ul class="list-group">
{% for item in tags %} {% for item in tags %}
<li class="list-group-item problem-tag"> <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> <span class="badge">{{ item.problem_number }}</span>
</li> </li>
{% endfor %} {% endfor %}