Fix open filters animation
This commit is contained in:
parent
bfdbce54c2
commit
6fb7c81cd5
|
@ -257,7 +257,8 @@ export class DatasetListingComponent extends BaseComponent implements OnInit, IB
|
|||
// criteria: this.grantId ? this.criteria : this.getDefaultCriteria(),
|
||||
updateDataFn: this.updateDataFn.bind(this)
|
||||
},
|
||||
position: { right: '0px;' }
|
||||
position: { right: '0px;' },
|
||||
panelClass: 'dialog-side-panel'
|
||||
});
|
||||
|
||||
dialogRef.afterClosed().subscribe(result => {
|
||||
|
|
|
@ -397,6 +397,8 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread
|
|||
updateDataFn: this.updateDataFn.bind(this)
|
||||
},
|
||||
position: { right: '0px;' },
|
||||
panelClass: 'dialog-side-panel',
|
||||
// may remove NgDialogAnimationService package
|
||||
// animation: {
|
||||
// to: "left",
|
||||
// incomingOptions: {
|
||||
|
|
|
@ -189,3 +189,24 @@
|
|||
overflow: initial;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@keyframes slide {
|
||||
100% {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-side-panel {
|
||||
position: fixed !important;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
right: -100vw;
|
||||
width: 100vw;
|
||||
height: 100%;
|
||||
animation: slide .3s forwards;
|
||||
// animation-delay: .3s;
|
||||
|
||||
.mat-dialog-container {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue