Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flex is not Wroking #592

Open
hishamabutt opened this issue Sep 12, 2020 · 6 comments
Open

Flex is not Wroking #592

hishamabutt opened this issue Sep 12, 2020 · 6 comments

Comments

@hishamabutt
Copy link

I am using Flex for styling the html but it is not working in the pdf.

@biztrology-kd
Copy link

add this css
display: -webkit-box;
display: -webkit-flex;
-webkit-flex-wrap: wrap;
display: flex;
flex-wrap: wrap;

add this in package.json

       "browserslist": [
"Safari >=4"

]

@madhavkaneriya
Copy link

I found this answer from StackOverflow very helpful, just add -webkit prefix to all your flex properties. I tried it out and it worked perfectly for me!

display: -webkit-flex;
-webkit-flex-direction: row;
-webkit-flex: 1;

@ELBEQQAL94
Copy link

You can use float instead of flexbox or grid.

@arnaudambro
Copy link

already answered #419

@Vatsal-24
Copy link

Thank you @rongliangduan @madhavkaneriya!!!
Wasted 2 days :(

@MostafaHamdy3
Copy link

I'm using the grid but it is not working in the pdf also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants