Well, I was finally able to fix this myself, the developers who made my theme don't seem to provide any support
The problem is that the coders set a minimum width for the body tag. This caused the body of all windows to be set to whatever the minimum was.
I fixed this by adding the following to additional.css:
Code:
#attachmentpopup {
width:auto;
min-width:100px;
max-width:{vb:stylevar doc_maxWidth};
margin: 0;
}
Then I modified the newattachment template
change
Code:
<body onload="self.focus()">
to
Code:
<body id="attachmentpopup" onload="self.focus()">