Disabled text wrapping on the torrent list table to enhance mobile view (#23)
This commit is contained in:
committed by
GitHub
parent
530de20276
commit
092a028ad9
@@ -37,8 +37,8 @@
|
||||
<script>
|
||||
const torrentRowTemplate = (torrent) => `
|
||||
<tr>
|
||||
<td class="text-break">${torrent.name}</td>
|
||||
<td>${formatBytes(torrent.size)}</td>
|
||||
<td class="text-nowrap text-truncate overflow-hidden" style="max-width: 350px;" title="${torrent.name}">${torrent.name}</td>
|
||||
<td class="text-nowrap">${formatBytes(torrent.size)}</td>
|
||||
<td style="min-width: 150px;">
|
||||
<div class="progress" style="height: 8px;">
|
||||
<div class="progress-bar" role="progressbar"
|
||||
@@ -59,7 +59,7 @@
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
`;
|
||||
`;
|
||||
|
||||
function formatBytes(bytes) {
|
||||
if (!bytes) return '0 B';
|
||||
|
||||
Reference in New Issue
Block a user