#1125 - If a torrent has 0% completed, the progressbar is 1 pixel long
This commit is contained in:
parent
49d3a7fc9f
commit
bbd05758a6
|
@ -340,6 +340,7 @@ Torrent.prototype =
|
|||
e.addClass( 'torrent_progress_bar' );
|
||||
e.addClass( class_name );
|
||||
e.css( 'width', css_completed_width + '%' );
|
||||
if(css_completed_width == 0) { e.addClass( 'empty' ); }
|
||||
|
||||
// Update the 'incomplete' bar
|
||||
e = root._progress_incomplete_container;
|
||||
|
|
|
@ -439,6 +439,10 @@ ul.torrent_list li.torrent div.torrent_progress_bar.complete_stopped {
|
|||
border: 1px solid #939393;
|
||||
}
|
||||
|
||||
ul.torrent_list li.torrent div.torrent_progress_bar.empty {
|
||||
border-color: #c8cacd;
|
||||
}
|
||||
|
||||
li.torrent a div {
|
||||
float: right;
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in New Issue