I am trying to override the style of primeng angular p-dialog-content. But to no avail. It is also styled in global css of the project. So maybe that’s another reason why it doesn’t work.
When i remove the class popup from the css, then it works.
This is the last approacth:
.popup { ::ng-deep .p-dialog { ::ng-deep .p-dialog-content { border-top: none !important; background-color: pink; } } }
while popup is the styleClass of the dialog
New contributor
chaya levy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.