mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
(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.
This commit is contained in:
parent
73b5bfbf5d
commit
b8eca962d4
2 changed files with 3 additions and 3 deletions
|
@ -1455,9 +1455,9 @@ Transmission.prototype =
|
|||
setInnerHTML( tab.secure, private_string );
|
||||
setInnerHTML( tab.creator_date, date_created );
|
||||
setInnerHTML( tab.progress, torrents.length ? fmt.percentString(Math.ratio( sizeDone*100, sizeWhenDone )) + '%' : na );
|
||||
setInnerHTML( tab.comment, comment == na ? comment : comment.replace(/\//g, '/​') );
|
||||
setInnerHTML( tab.comment, comment );
|
||||
setInnerHTML( tab.creator, creator );
|
||||
setInnerHTML( tab.download_dir, download_dir == na ? download_dir : download_dir.replace(/([\/_\.])/g, "$1​") );
|
||||
setInnerHTML( tab.download_dir, download_dir );
|
||||
setInnerHTML( tab.error, error );
|
||||
|
||||
this.updatePeersLists();
|
||||
|
|
|
@ -699,7 +699,7 @@ div#inspector_tabs {
|
|||
width: 100px; /* this + the next 380 == inspector_container_with */
|
||||
}
|
||||
.inspector_row > div {
|
||||
display: table-cell;
|
||||
word-wrap: break-word;
|
||||
padding-top: 10px;
|
||||
width: 380px; /* inspector_container_width==480 - inspector_label_width==100 */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue