mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Fix row height/width in webui for country flags.
Patch by Chocobo1.
This commit is contained in:
@@ -78,6 +78,11 @@ tr.dynamicTableHeader {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dynamicTable td img.flags {
|
||||
height: 1.25em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.dynamicTableFixedHeaderDiv {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -1182,12 +1182,14 @@ var TorrentPeersTable = new Class({
|
||||
if (td.getChildren('img').length) {
|
||||
var img = td.getChildren('img')[0];
|
||||
img.set('src', img_path);
|
||||
img.set('class', 'flags');
|
||||
img.set('alt', country);
|
||||
img.set('title', country);
|
||||
}
|
||||
else
|
||||
td.adopt(new Element('img', {
|
||||
'src' : img_path,
|
||||
'class' : 'flags',
|
||||
'alt' : country,
|
||||
'title' : country
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user