Update pdfbug style.

This commit is contained in:
Brendan Dahl 2012-04-26 12:35:52 -07:00
parent cc353a4003
commit fe0d7d24bc
2 changed files with 52 additions and 3 deletions

View file

@ -423,8 +423,9 @@ var PDFBug = (function PDFBugClosure() {
panels.setAttribute('class', 'panels');
ui.appendChild(panels);
document.body.appendChild(ui);
document.body.style.paddingRight = panelWidth + 'px';
var container = document.getElementById('viewerContainer');
container.appendChild(ui);
container.style.right = panelWidth + 'px';
// Initialize all the debugging tools.
var tools = this.tools;