修复css权重和样式覆盖的问题
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user