Closed harshnavadiya closed 3 months ago
First of all hello, are you sure you are using inline CSS? (e.g. : <li style="font-size:50px">Coffee</li>
)
If you can share the code of the function you are using for print, I can help you more.
This is my HTMl code "<div class="green-card" [ngClass]="{'pt-10': modIos}">
{{dcm_id}} :- {{item?.dcm_id}}
{{name}} :- {{item?.first_name + ' ' + item?.last_name}}
{{type}} :- {{item?.type}}
{{amount}} :- {{item?.amount}}
The plugin only supports inline CSS, unfortunately. You are trying to apply styles through a .css file, not inline.
I have already applied inline CSS, but it's not working in iOS. Please help me solve this issue.
I'm experiencing an issue where CSS styles are not being applied when attempting to print a web page on iOS devices. This problem occurs specifically when using your plugin.
Steps to Reproduce:
Implement the plugin on a web page. Apply some CSS styles (e.g., font size, color, margins). Open the page on an iOS device (iPhone or iPad). Attempt to print the page using the iOS print feature. Notice that the CSS styles are not applied in the print preview or in the actual printout.
Environment:
Plugin version: "^0.0.3" iOS version: "14.2" Browser:125.0.6422.113