Cómo cambiar de estilo
.p-dialog .p-dialog-footer button { margin: 0 1rem 0 0 !important; width: auto !important; }escribo asi pero no funciona
:host ::ng-deep .p-dialog .p-dialog-footer button { width: 2.5rem !important; }En el width original se declara !important . Su anulación también tiene que ser !important .