Browse Source

fix line break for wanted label

main
ghost 1 year ago
parent
commit
82f69c64a6
  1. 4
      public/asset/default/css/framework.css
  2. 2
      templates/default/torrent/list.html.twig

4
public/asset/default/css/framework.css

@ -160,10 +160,6 @@ a.button-green:hover {
vertical-align: middle; vertical-align: middle;
} }
.top--2-px {
top: -2px;
}
.top-2-px { .top-2-px {
top: 2px; top: 2px;
} }

2
templates/default/torrent/list.html.twig

@ -34,7 +34,7 @@
</h2> </h2>
{% if torrent.scrape.leechers > 0 and torrent.scrape.seeders == 0 %} {% if torrent.scrape.leechers > 0 and torrent.scrape.seeders == 0 %}
<a href="{{ path('torrent_file_wanted', { torrentId : torrent.id }) }}" <a href="{{ path('torrent_file_wanted', { torrentId : torrent.id }) }}"
class="label label-green margin-l-4-px font-size-10-px position-relative top--2" class="label label-green font-size-10-px position-relative display-inline-block"
title="{{ 'Active leechers waiting for seeders' | trans }}"> title="{{ 'Active leechers waiting for seeders' | trans }}">
{{ 'wanted' | trans }} {{ 'wanted' | trans }}
</a> </a>

Loading…
Cancel
Save