Support » Plugin: PDF Embedder » Width problem of embedder container

  • Resolved Trebly



    I am installing the use of colorbox panels pro with embedded pdf.

    I get an error in what seems normal conditions : the width of container is greater than it should.
    The left-margin is good but right margin is just exactly crushed.

    I think that there is an error of calculus of the width by js.
    I think so because zoom indicator is 100% but if I reduce first to 90% and just after increase to 100% the good width is then set.

    So it seems that the first calculus for first display calculate the width as
    – width = colorbox-container-width minus margin
    while it should calculate
    – width = colorbox-container-width minus 2*margins

    When the pdf embedder container is resized the calculus is right.

    With debugger I got the values and the calculus is quite exact with 1 or 2 px (calculus precision in differences) while optically the pdf-embedder is perfectly centered.

    I am quite sure to be right. If you confirm can you tell me were to patch (I can find it but I would need time…).

    Best regards


Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Width problem of embedder container’ is closed to new replies.