By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!
elementor official

Wrong size of the tablet breakpoint in editor (767.999px instead of 768) .

ugo robain

ugo robain

New Member
Hello,

I just moved to elementor pro and I experienced a problem since I installed it. The problem occurs when I set the editor to tablet mode, in this mode the iframe width, which should be set to 768px, is in reality set to 767.99. It seems obvious to me that your are missing a call to Math.Round the moment you set the iframe width.
I found a bug report (ttps://github.com/elementor/elementor/issues/7838) for the very same problem on GitHub but the difficulty to reproduce this bug is a stop to fixing it. I send you a picture of the problem.
Could you please try to add Math.Round where you are setting the iframe width, even if you are not able to reproduce the bug, so the people like me could try to see if it will fix the problem. Adding Math.round will not hurt anyway.

Capture d’écran de 2020-10-05 12-21-04.jpg


Thanx a lot.
 
elementor official

Latest posts

Other Elementor Resources

elementor official
elementor official
Top