Open jashkenas opened 10 years ago
They should be using auto zoom instead. Looks like it's a hard-coded width.
DV.load("//www.documentcloud.org/documents/1236725-abubasirletter.js", {
width: 970,
height: 800,
text: false,
pdf: false,
container: "#DV-viewer-1236725-abubasirletter"
});
The same problem appears if you simply narrow any document in a new window on DocumentCloud.org. It starts cutting off the right side instead of centering nicely.
Yeah, i see it. I gotta get my windows vms back up and running on my (new) machine so i can test against some IEs.
Example: http://www.nytimes.com/interactive/2014/07/30/world/africa/31kidnap-docviewer2.html
Padding-left on
.DV-docViewer .p0, .DV-docViewer .p1, .DV-docViewer .p2
is currently 60px. It looks like it wants to be 40.