<div class="labels">
  <% issue.position_groups.each do |label, parties| %>
    <div class="position">
      <div class="position-wrapper">
        <h3>
          <%= image_tag label.icon, class: "icon" %>
          <%= label.text %>
        </h3>
      </div>
    </div>
  <% end %>
</div>

<div class="icons">
  <% issue.position_groups.each do |label, parties| %>
    <div class="position">
      <div class="position-wrapper">
        <% parties.each do |party| %>
          <%= link_to issue_url(issue, anchor: party.slug), class: 'issue-graph-party' do %>
            <%= image_tag party.logo.versions[:medium], alt: "#{party.name}s logo" %>
          <% end %>
        <% end %>
      </div>
    </div>
  <% end %>
</div>

<div class="labels">
  <% issue.position_groups.each do |label, parties| %>
    <div class="position">
      <div class="position-wrapper">
        <h3>
          <%= label.text %>
        </h3>
      </div>
    </div>
  <% end %>
</div>

<div class="icons">
  <% issue.position_groups.each do |label, parties| %>
    <div class="position">
      <div class="position-wrapper">
        <% parties.each do |party| %>
          <%= link_to issue_url(issue, anchor: party.slug), class: 'issue-graph-party' do %>
            <%= image_tag party.logo.versions[:medium], alt: "#{party.name}s logo" %>
          <% end %>
        <% end %>
      </div>
    </div>
  <% end %>
</div>

Remove thumb icons from issue widget.
Remove thumb icons from issue widget.
