Features

Margins for a embedded popup modal should be in the overlay and not on the modal

1y agoPending

On a narrow screen, a popup ends up with 20px padding on both sides. It isn't possible to change this as it is not set on a element that it is safe to target. It would be nice for this to be set as padding the overlay. Or even not set at all so that it could be applied in the parent window rather than inside the iframe.

@media (max-width: 576px) {

._layoutDefault_evhv6_170, ._layoutModal_evhv6_186 {

max-width: calc(100% - 40px);

}

}

1 comment

  1. Tally1y ago

    Thanks a lot for the detailed suggestion, Patrick! We understand the issue you're describing with the fixed padding inside the iframe.

    We’ll take note of your feedback — Thanks again for taking the time to share this! 🙌