Primeng style classes not reflecting in print
I am making angular 2 app using primeng. I am trying to print a page which is using primeng datatable. I have made some changes for datatable style classes in styles.css . But when i am printing that datatable, the styles are not reflecting i.e background color of data table header is not showing. I have done something like this in styles.css :
@media all{
.ui-datatable th.ui-state-default{
background-color: #bfcad5;
color: #444d58;
-webkit-print-color-adjust: exact !important;
}
}
Please help me out with this issue.
I have the same problem.
Did you find a solution ?
I'm facing the same problem...
Add your style classes inside "@media print" attribute in style.css
On Thu, Jun 8, 2017 at 10:59 PM, DarioN1 [email protected] wrote:
I'm facing the same problem...
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/primefaces/primeng/issues/1725#issuecomment-307172423, or mute the thread https://github.com/notifications/unsubscribe-auth/AV1-TnixRceMJBoITDwNOLSPEdwqYL7wks5sCC9lgaJpZM4LafuC .