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

Table Border not visible #144

Open
sumitk91 opened this issue Feb 7, 2023 · 1 comment
Open

Table Border not visible #144

sumitk91 opened this issue Feb 7, 2023 · 1 comment

Comments

@sumitk91
Copy link

sumitk91 commented Feb 7, 2023

I am using this plugin to generate PDFs from HTML in Cordova app. I am using a table to display the data, but when I am generating the PDF table borders are being disappeared in the PDF also the table CSS like the background colour not working.

@cgutierrez365
Copy link

cgutierrez365 commented Jul 27, 2023

I am also experiencing issues with the background property in my ionic cordova app. The background property works on iOS 15 but doesn't on iOS 16.4 or 16.5.

Here's an example of my html. While the other properties like border, color, and font-weight work, the background color does not show at all on iOS 16.4 or 16.5. I find that the background property works fine on Android 13, however.

const testHTML = `<style>.backgroundTest {background:#e75242;border:1px solid #0fdd31;font-size:12px;line-height:12px;font-weight:bold;padding:6px 12px;color:#ffffff;border-radius:500px;margin: 2px 8px 2px 0;}</style><div class="backgroundTest">Test</div>\`;

this.pdfGenerator.fromData(testHTML, { type: 'base64', fileName: 'test.pdf' });

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

2 participants