Changeset d9ef65


Ignore:
Timestamp:
01/21/2024 03:20:24 PM (18 months ago)
Author:
Calum Lind <calumlind+deluge@gmail.com>
Branches:
develop, master
Children:
848d66
Parents:
7f70d6
git-author:
Chris Ross <cross+github@distal.com> (12/29/2023 05:11:24 PM)
git-committer:
Calum Lind <calumlind+deluge@gmail.com> (01/21/2024 03:20:24 PM)
Message:

[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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • deluge/ui/web/js/deluge-all/TorrentGrid.js

    r7f70d6 rd9ef65  
    6262            '<div style="background: url(' +
    6363                deluge.config.base +
    64                 'tracker/{0}) no-repeat; padding-left: 20px;">{0}</div>',
     64                'tracker/{0}) no-repeat; background-size: contain; padding-left: 20px;">{0}</div>',
    6565            Ext.util.Format.htmlEncode(value)
    6666        );
Note: See TracChangeset for help on using the changeset viewer.