[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
This commit is contained in:
parent
7f70d6c6ff
commit
d9ef65d745
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue