Browse Source

fix long filename out of container width

main
ghost 1 year ago
parent
commit
1d6a7b03b2
  1. 12
      public/asset/default/css/framework.css
  2. 4
      templates/default/torrent/info.html.twig

12
public/asset/default/css/framework.css

@ -15,6 +15,18 @@
float: left; float: left;
} }
.word-break {
word-break: break-word;
}
.overflow-auto {
overflow: auto;
}
.float-left {
float: left;
}
.float-right { .float-right {
float: right; float: right;
} }

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

@ -10,7 +10,9 @@
</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">
{{ key }} <span class="word-break">
{{ 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>

Loading…
Cancel
Save