Skip to content

Commit

Permalink
Fix max-width of track dialog.
Browse files Browse the repository at this point in the history
jQuery dialog's maxWidth only takes an int as pixels per their docs; I
don't see how percentage would ever have suceeded there.

Fixes: #1333
  • Loading branch information
chrisboyle committed Nov 7, 2015
1 parent bb4b8f5 commit 7167740
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion htdocs/js/jquery.esn.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ _create: function() {
document.location = $ele.attr("href");
}
},
maxWidth: "80%",
width: 500
});
});
Expand Down
4 changes: 4 additions & 0 deletions htdocs/stc/esn.css
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ span.Pages input {


/**** ESN AJAX ****/
.track-dialog { /* outer div */
max-width: 80%;
}

.trackdialog .track_title, .ippu .track_title {
font-weight: bold;
margin: 4px;
Expand Down

0 comments on commit 7167740

Please sign in to comment.