Browse Source

fix long filename out of container width

main
ghost 1 year ago
parent
commit
4969d33f57
  1. 6
      templates/default/torrent/info.html.twig

6
templates/default/torrent/info.html.twig

@ -9,10 +9,8 @@
{{ self.recursive_file_tree(value) }} {{ self.recursive_file_tree(value) }}
</div> </div>
{% else %} {% else %}
<div class="padding-y-4-px padding-l-8-px background-color-hover-night-light cursor-default"> <div class="padding-y-4-px padding-l-8-px background-color-hover-night-light cursor-default word-break">
<span class="word-break">
{{ key }} {{ key }}
</span>
<div class="float-right padding-x-8-px"> <div class="float-right padding-x-8-px">
{{ value | format_bytes }} {{ value | format_bytes }}
</div> </div>
@ -292,7 +290,7 @@
</div> </div>
<div class="padding-y-16-px"> <div class="padding-y-16-px">
{% for tracker, status in trackers %} {% for tracker, status in trackers %}
<div class="padding-y-4-px"> <div class="padding-y-4-px word-break">
{% if status %} {% if status %}
{{ tracker }} {{ tracker }}
{% else %} {% else %}

Loading…
Cancel
Save