Use wide icons in priority vote forums.

This commit is contained in:
flash 2019-05-08 16:36:22 +02:00
parent 957f32e588
commit c133c7c7a3
2 changed files with 5 additions and 1 deletions

View file

@ -73,6 +73,10 @@
align-items: center;
padding: 1px 1px 0 2px;
&--wide {
width: 60px;
}
&--unread {
background-color: var(--accent-colour);
}

View file

@ -280,7 +280,7 @@
<a href="{{ url('forum-topic', {'topic': topic.topic_id}) }}" class="forum__topic__link"></a>
<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>
{% if has_priority_voting %}