Fix: Missing close button from dialogue window (#1717)
This commit is contained in:
+4
@@ -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;
|
||||
}
|
||||
|
||||
+8
-3
@@ -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'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user