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. 2
      templates/default/torrent/info.html.twig

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

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

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

@ -10,7 +10,9 @@ @@ -10,7 +10,9 @@
</div>
{% else %}
<div class="padding-y-4-px padding-l-8-px background-color-hover-night-light cursor-default">
<span class="word-break">
{{ key }}
</span>
<div class="float-right padding-x-8-px">
{{ value | format_bytes }}
</div>

Loading…
Cancel
Save