Skip to content
Snippets Groups Projects
Commit 3a1c8e33 authored by jvanboxtel@wisc.edu's avatar jvanboxtel@wisc.edu
Browse files

ROENROLL-1982

parent c2acf411
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,17 @@ ...@@ -26,6 +26,17 @@
display: none !important; display: none !important;
} }
/deep/.dialog-fullscreen {
max-width: none !important;
max-height: none !important;
width: 100% !important;
height: 100% !important;
.mat-dialog-content {
max-height: 85vh !important;
}
}
.audit-group-divider { .audit-group-divider {
border-bottom: 3px solid #969696; border-bottom: 3px solid #969696;
margin: 3.2em 0em; margin: 3.2em 0em;
......
...@@ -100,7 +100,9 @@ export class DARSViewComponent implements OnInit, OnDestroy { ...@@ -100,7 +100,9 @@ export class DARSViewComponent implements OnInit, OnDestroy {
public openDegreeAuditDialog() { public openDegreeAuditDialog() {
const subscription = this.dialog const subscription = this.dialog
.open<any, any, NewDegreeAuditFields>(NewDegreeAuditDialogComponent) .open<any, any, NewDegreeAuditFields>(NewDegreeAuditDialogComponent, {
panelClass: this.mobileView.matches ? 'dialog-fullscreen' : '',
})
.afterClosed() .afterClosed()
.subscribe(event => { .subscribe(event => {
subscription.unsubscribe(); subscription.unsubscribe();
...@@ -120,7 +122,9 @@ export class DARSViewComponent implements OnInit, OnDestroy { ...@@ -120,7 +122,9 @@ export class DARSViewComponent implements OnInit, OnDestroy {
public openWhatIfAuditDialog() { public openWhatIfAuditDialog() {
const subscription = this.dialog const subscription = this.dialog
.open<any, any, NewWhatIfAuditFields>(NewWhatIfAuditDialogComponent) .open<any, any, NewWhatIfAuditFields>(NewWhatIfAuditDialogComponent, {
panelClass: this.mobileView.matches ? 'dialog-fullscreen' : '',
})
.afterClosed() .afterClosed()
.subscribe(event => { .subscribe(event => {
subscription.unsubscribe(); subscription.unsubscribe();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment