本文介绍了在打印模式下重复模式内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对ng-bootstrap和最新的Firefox有问题当我以打开模式窗口的纵向模式打印页面时,模式内容将克隆为2页

也许有人知道为什么会发生吗?

解决方案

我通过此CSS规则解决了此问题

  @media打印{.modal-open .wrapper {显示:无;}} 

I have issue with ng-bootstrap and latest FirefoxWhen 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?

解决方案

i fix this problem by this css rule

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

这篇关于在打印模式下重复模式内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 02:08
查看更多