Fix: Missing close button from dialogue window (#1717)

This commit is contained in:
Aditya Chandel
2025-12-01 20:02:53 -07:00
committed by GitHub
parent b5460a5e90
commit 4da832cd19
2 changed files with 12 additions and 3 deletions
@@ -234,3 +234,7 @@
::ng-deep .custom-button-padding .p-button {
padding-block: 0.25rem !important;
}
::ng-deep .book-details-dialog .p-dialog-header {
padding: 1rem 1.25rem !important;
}
@@ -495,11 +495,16 @@ export class BookCardComponent implements OnInit, OnChanges, OnDestroy {
});
} else {
this.dialogService.open(BookMetadataCenterComponent, {
width: '85%',
width: '90%',
data: {bookId: book.id},
modal: true,
dismissableMask: true,
showHeader: false
dismissableMask: false,
showHeader: true,
closable: true,
closeOnEscape: true,
maximizable: true,
header: 'Book Details',
styleClass: 'book-details-dialog'
});
}
}