crossnote
crossnote copied to clipboard
The exported html's css makes wkhtmltopdf work incorrectly
I'm using wkhtmltopdf to convert html to pdf(cause I need bookmarks in pdf), but I found the .markdown-preview{left:50%;transform:translateX(-50%)}
in style-template.css will make wkhtmltopdf only use right half page to print the pdf content.
After I changed the style to .markdown-preview{/*left:50%;transform:translateX(-50%)*/left:0%;transform:translateX(0%)}
, the html still shows correct and wkhtmltopdf also works.
So should I do this to make wkhtmltopdf working? Will it break some browsers' compatibility?