Repeating modal content in printing mode

拥有回忆 提交于 2021-01-29 02:08:25

问题


I have issue with ng-bootstrap and latest Firefox When i`m print page in portrait mode with opened modal window, modal content cloning into 2 page

https://ng-bootstrap.github.io/#/components/modal/examples

May be someone known why it happen?


回答1:


i fix this problem by this css rule

@media print {
    .modal-open .wrapper {
        display: none;
    }
}


来源:https://stackoverflow.com/questions/54762715/repeating-modal-content-in-printing-mode

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