You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it happens in chrome and firefox, didn't try anything else
turning false the optimization flag on production resolves the problem,
it does the same in development configuration as well
(aot doesn't matter, i keep it true)
The text was updated successfully, but these errors were encountered:
🐞 Bug report
In development there is no problem, but in production the css of a particular class is not working entirely.
This component has to cover all the pages only on printing with a string passed as input, this string is rotated by 45°, grey, repeated.
There is no exception nor error signaled.
Sometime i think that part of the css is applied, something like the on
@screen { display: none; }
, but absolutely not the@media print
part.print-with-watermark.component.less:
print-with-watermark.component.html:
print-with-watermark.component.ts:
🔬 Minimal Reproduction
i use primeng as UI library and there are some elements in this component, so it needs to be installed.
you can just copy the 3 files, add some content calling the component like:
And go with
ng build --prod
within your
angular.json
I'm sorry i don't know how to offer a ready to use example
🌍 Your Environment
Anything else relevant?
it happens in chrome and firefox, didn't try anything else
turning false the optimization flag on production resolves the problem,
it does the same in development configuration as well
(aot doesn't matter, i keep it true)
The text was updated successfully, but these errors were encountered: