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