summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ross <cross+github@distal.com>2023-12-29 18:11:24 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2024-01-21 16:20:24 +0100
commitd9ef65d745c06e5fb9fafa5dd1165e6eee7a8d03 (patch)
treed2f1f9efc10873a3dd02b1b476bc5759e8e1b7d6
parent[WebUI] Fix progress divide by 0 error with empty dir (diff)
downloaddeluge-d9ef65d745c06e5fb9fafa5dd1165e6eee7a8d03.tar.xz
deluge-d9ef65d745c06e5fb9fafa5dd1165e6eee7a8d03.zip
[WebUI] Fix tracker icon to fit within tracker column rows
For me at least, Safari on Mac OS X, the tracker icon significantly overflows in the Tracker column of the torrent list. (It does show the correct size in the Trackers filter, though. Different CSS.) This change causes it to constrain down to the height of the column and display correctly. Closes: https://github.com/deluge-torrent/deluge/pull/440
-rw-r--r--deluge/ui/web/js/deluge-all/TorrentGrid.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/web/js/deluge-all/TorrentGrid.js b/deluge/ui/web/js/deluge-all/TorrentGrid.js
index 333d1335c..5db7e9fbc 100644
--- a/deluge/ui/web/js/deluge-all/TorrentGrid.js
+++ b/deluge/ui/web/js/deluge-all/TorrentGrid.js
@@ -61,7 +61,7 @@
return String.format(
'<div style="background: url(' +
deluge.config.base +
- 'tracker/{0}) no-repeat; padding-left: 20px;">{0}</div>',
+ 'tracker/{0}) no-repeat; background-size: contain; padding-left: 20px;">{0}</div>',
Ext.util.Format.htmlEncode(value)
);
}