crabbly / crabbly/Print.js

css property not support on firefox while using html option .

Open
#544 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.5k
Forks
688
PR merge metrics
No merged PRs in 30d

Description

```




Document





Invoice


Penjualan dan pembelian harian karyawan






No
Nama
Pretty




No
Nama
Pretty


No
Nama
Pretty


No
Nama
Pretty



Invoice Barang



Print


const printJs=window["printJS"]
document.getElementById('btn').onclick=function(){
printJs({
printable:'invoice',
type: 'html',
gridStyle: 'border: 1px solid #3971A5;',
honorColor:true,
font_size:'11px',
css:"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css",
modalMessage:"Silakan print invoice anda"
})
}

```

above is my code
and the result on crhome
![image](https://user-images.githubusercontent.com/40487188/110655225-d4164080-81f9-11eb-82b0-6ea8272171a1.png)

and this is the result on firefox

![image](https://user-images.githubusercontent.com/40487188/110655405-fdcf6780-81f9-11eb-91b5-93b7b5b415cb.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.