Changeset 6509


Ignore:
Timestamp:
Aug 14, 2008, 1:40:08 AM (13 years ago)
Author:
Gimp
Message:

#1125 - If a torrent has 0% completed, the progressbar is 1 pixel long

Location:
trunk/web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/torrent.js

    r6475 r6509  
    341341                        e.addClass( class_name );
    342342                        e.css( 'width', css_completed_width + '%' );
     343                        if(css_completed_width == 0) { e.addClass( 'empty' ); }
    343344                       
    344345                        // Update the 'incomplete' bar
  • trunk/web/stylesheets/common.css

    r6497 r6509  
    438438        background-position: left -30px;
    439439        border: 1px solid #939393;
     440}
     441
     442ul.torrent_list li.torrent div.torrent_progress_bar.empty {
     443        border-color: #c8cacd;
    440444}
    441445
Note: See TracChangeset for help on using the changeset viewer.