Skip to content

Commit

Permalink
[WebUI] Fix tracker icon to fit within tracker column rows
Browse files Browse the repository at this point in the history
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: #440
  • Loading branch information
cross authored and cas-- committed Jan 21, 2024
1 parent 7f70d6c commit d9ef65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deluge/ui/web/js/deluge-all/TorrentGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}
Expand Down

0 comments on commit d9ef65d

Please sign in to comment.