Adds custom panelClass in matDialogConfig Object for UserDialogComponent

This commit is contained in:
gpapavgeri 2020-08-26 16:15:57 +03:00
parent 7fd0692608
commit bcbb9ba606
5 changed files with 13 additions and 10 deletions

View File

@ -109,7 +109,8 @@ export class NavigationComponent extends BaseComponent implements OnInit {
autoFocus: false,
closeOnNavigation: true,
disableClose: false,
position: { top: '64px', right: '1em' }
position: { top: '64px', right: '1em' },
panelClass: 'custom-userbox'
});
}

View File

@ -48,13 +48,6 @@ $mat-card-header-size: 40px !default;
background-color: #ddd;
}
::ng-deep .mat-dialog-container {
background-color: transparent;
padding: 0rem;
overflow: initial;
box-shadow: none;
}
.check-icon {
color: #129D99;
transform: scale(0.7);

View File

@ -224,7 +224,8 @@ export class NavbarComponent extends BaseComponent implements OnInit {
autoFocus: false,
closeOnNavigation: true,
disableClose: false,
position: { top: '64px', right: '1em' }
position: { top: '64px', right: '1em' },
panelClass: 'custom-userbox'
});
}

View File

@ -230,7 +230,8 @@ export class SidebarComponent implements OnInit {
autoFocus: false,
closeOnNavigation: true,
disableClose: false,
position: { top: '64px', right: '1em' }
position: { top: '64px', right: '1em' },
panelClass: 'custom-userbox'
});
}

View File

@ -182,3 +182,10 @@
::ng-deep .mat-form-field-appearance-outline .mat-form-field-infix {
padding: 0.3rem 0rem 0.6rem 0rem !important;
}
.custom-userbox > mat-dialog-container {
background-color: transparent;
padding: 0rem;
overflow: initial;
box-shadow: none;
}