node-html-pdf icon indicating copy to clipboard operation
node-html-pdf copied to clipboard

Still, flex isn't supported

Open rayax86 opened this issue 10 years ago • 7 comments

Just noticed that the flex clause declared in CSS is still not supported; rewritten to -webkit-flex and problem solved. This issue is claimed to be solved here

Using v2.1.0, rMBP 15' 2012.

rayax86 avatar Aug 29 '16 07:08 rayax86

any solutions?

giacomoratta avatar Oct 17 '16 15:10 giacomoratta

This is clearly a PhantomJS issue, please look there for workarounds, I directly linked to one which can be used if you render your own pages.

maxmarkus avatar Jan 05 '17 22:01 maxmarkus

Nice. I guess we can close this issue now.

rayax86 avatar Jan 06 '17 02:01 rayax86

try display: -webkit-flex;

luisvquintas avatar Feb 05 '19 02:02 luisvquintas

still not working 👎🏻

jjuannn avatar Mar 17 '23 18:03 jjuannn

Autoprefixer helped me with that, you have to change the names of the attributes sometimes, it works, the biggest problem I had was that I had to use display: -webkit-box; instead of display: flex; in some occasions.

danielnydrle avatar Mar 22 '23 18:03 danielnydrle

Autoprefixer helped me with that, you have to change the names of the attributes sometimes, it works, the biggest problem I had was that I had to use display: -webkit-box; instead of display: flex; in some occasions.

Autoprefixer fixed my issue with flexing as well!

vladkrasn avatar Jul 07 '23 19:07 vladkrasn