Skip to content

Padding is screwed up. #44

Open
Open

Description

@jashkenas

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.

Activity

  1. samuelclay commented on Jul 29, 2014

    @samuelclay
    Member

    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"
    });
    
  2. jashkenas commented on Jul 30, 2014

    @jashkenas
    MemberAuthor

    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.

  3. knowtheory commented on Jul 30, 2014

    @knowtheory
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions