Why doesn't wkhtmltopdf page-break-after have any effect?

后端 未结 6 2041
鱼传尺愫
鱼传尺愫 2021-01-30 16:34

I\'m using wkhtmltopdf 0.10.0 rc2 for Mac

I have an html like this one :



  
    

        
6条回答
  •  孤独总比滥情好
    2021-01-30 17:04

    It is working fine after remove media print

    Before:

    @media print {
        .page-break { height:0;page-break-after: always; margin:0; border-top:none;}
    }
    

    above code not working in new version.

    Now

    .page-break { height:0;page-break-after: always; margin:0; border-top:none;}
    

提交回复
热议问题