Use wide icons in priority vote forums.
This commit is contained in:
parent
957f32e588
commit
c133c7c7a3
2 changed files with 5 additions and 1 deletions
|
@ -73,6 +73,10 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 1px 1px 0 2px;
|
padding: 1px 1px 0 2px;
|
||||||
|
|
||||||
|
&--wide {
|
||||||
|
width: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
&--unread {
|
&--unread {
|
||||||
background-color: var(--accent-colour);
|
background-color: var(--accent-colour);
|
||||||
}
|
}
|
||||||
|
|
|
@ -280,7 +280,7 @@
|
||||||
<a href="{{ url('forum-topic', {'topic': topic.topic_id}) }}" class="forum__topic__link"></a>
|
<a href="{{ url('forum-topic', {'topic': topic.topic_id}) }}" class="forum__topic__link"></a>
|
||||||
|
|
||||||
<div class="forum__topic__container">
|
<div class="forum__topic__container">
|
||||||
<div class="forum__topic__icon forum__topic__icon--{{ topic_unread ? 'unread' : 'read' }}">
|
<div class="forum__topic__icon forum__topic__icon--{{ topic_unread ? 'unread' : 'read' }}{% if has_priority_voting %} forum__topic__icon--wide{% endif %}">
|
||||||
<i class="{{ topic_icon }} fa-fw{% if has_priority_voting %} forum__topic__icon--faded{% endif %}"></i>
|
<i class="{{ topic_icon }} fa-fw{% if has_priority_voting %} forum__topic__icon--faded{% endif %}"></i>
|
||||||
|
|
||||||
{% if has_priority_voting %}
|
{% if has_priority_voting %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue