Cloudinary - Iframe close button + sources bar is hidden because Iframe content is too high

会有一股神秘感。 提交于 2020-04-30 06:33:30

问题


As you can see from the image, the iframe content is too big and it hides the X button + Sources bar. Is there any option to make it's content a bit smaller?

This css seems to be the problem:

  @@media only screen and (min-width: 767px) {
            #uw-glamor-396 .css-5anb0a, #uw-glamor-396 [data-css-5anb0a] {
                position: absolute;
                top: 50%;
                left: 50%;
                width: 767px;
                height: 610px;
                transform: translate(-50%, -50%);
                border-radius: 5px;
            }
        }

If the height would be 450px instead of 610px it would fix the issue.

This fiddle raises the issue, open it with your laptop and expand a little bit the result window to get the Drag and Drop box.

This is how it looks like without the bookmark tab in my laptop with 100%, I use Chrome:


回答1:


Unfortunately, it isnt possible to change this currently. Its a known issue but up until now there havent been any complaints that i know of. Typically apps that host the widget are in desktop resolutions so there's enough vertical space or its in mobile res and then the widget switches to the mobile layout.

Ill look into promoting this issue internally. In the meantime, can you share some details about your app, how does it display the widget? What makes it not have enough vertical space?



来源:https://stackoverflow.com/questions/61371762/cloudinary-iframe-close-button-sources-bar-is-hidden-because-iframe-content

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!