jsreport / jsreport-core

The minimalist jsreport rendering core
GNU Lesser General Public License v3.0
86 stars 24 forks source link

Page break not render background image #40

Closed davidbranco closed 5 years ago

davidbranco commented 5 years ago

Hi guys,

I'm trying to use jsreport for some tests and I face this issue: When try to break page (using chrome pdf) the background image is not showed on the next page created.

What I need is simple: If some information exceed a limit of data, I'll use page break to print all the information on the next page.

I'm using simple template with some HTML and JS functions on jsreport 2.3.2.

body { font-family: 'pf_handbook_prolight'; font-size: 8.5pt; background-image: url({#asset static/img/bl.png @encoding=dataURI}); background-repeat: no-repeat; background-size: 840px 1028px }

Tks in advance!

Workaround: `.cover { background-image: url({#asset static/img/bl.png @encoding=dataURI}); background-repeat: no-repeat; }` ```
Some content
Some content
```