Open asl97 opened 10 months ago
How it should look (sample from a laptop):
Messing with @page
, `margin, etc doesn't seem to help, it seem to be something about how vh and vw works and my longer screen width on mobile device.
firefox android print to pdf is totally broken as far as I can tell, it seem to be stuck in portrait mode even when set to landscape.
Going to attempt hard coding the size and provide an option for selecting the hard coded size.
https://github.com/asl97/Bingo-Spinner/commit/263588dc0267b3e43e14ebeca4fc1ca79f1124de
hard coding width and height seem to work somewhat, it still broken on firefox though.
current android chrome
current android firefox
pre-generated sample of card https://asl97.github.io/Bingo-Spinner/sample/CS75-4000.html
resulting pdf from android firefox temp2364311225429334798.pdf
resulting pdf from android chrome CS75-4000.pdf
created issue on mozilla bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1872249
Mainly focusing on batch printing but affect the fairly useless individual
Card Printer
as well.Android Chrome breaks card into 2
Android Firefox doesn't fully use whole page
Related: https://github.com/asl97/Bingo-Spinner/issues/9#issuecomment-1803211871