Changeset 12573


Ignore:
Timestamp:
Jul 21, 2011, 4:07:56 PM (10 years ago)
Author:
jordan
Message:

(trunk web) #1188 "comments and announce address are cut off" -- tell the browser (via word-wrap: break-word;) that it's okay to insert word breaks inside long URLs in the inspector.

Location:
trunk/web
Files:
2 edited

Legend:

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

    r12475 r12573  
    14561456                setInnerHTML( tab.creator_date, date_created );
    14571457                setInnerHTML( tab.progress, torrents.length ? fmt.percentString(Math.ratio( sizeDone*100, sizeWhenDone )) + '%' : na );
    1458                 setInnerHTML( tab.comment, comment == na ? comment : comment.replace(/\//g, '/​') );
     1458                setInnerHTML( tab.comment, comment );
    14591459                setInnerHTML( tab.creator, creator );
    1460                 setInnerHTML( tab.download_dir, download_dir == na ? download_dir : download_dir.replace(/([\/_\.])/g, "$1​") );
     1460                setInnerHTML( tab.download_dir, download_dir );
    14611461                setInnerHTML( tab.error, error );
    14621462
  • trunk/web/stylesheets/common.css

    r12510 r12573  
    700700}
    701701.inspector_row > div {
    702         display: table-cell;
     702        word-wrap: break-word;
    703703        padding-top: 10px;
    704704        width: 380px; /* inspector_container_width==480 - inspector_label_width==100 */
Note: See TracChangeset for help on using the changeset viewer.