diff --git a/ogWebconsole/src/app/components/global-status/global-status.component.css b/ogWebconsole/src/app/components/global-status/global-status.component.css index e904d94..667f99d 100644 --- a/ogWebconsole/src/app/components/global-status/global-status.component.css +++ b/ogWebconsole/src/app/components/global-status/global-status.component.css @@ -1,7 +1,13 @@ mat-dialog-content { + height: calc(100% - 64px); + overflow: auto; padding-top: 0.5em !important; } +.content-container { + min-height: 100%; +} + .action-container { display: flex; justify-content: flex-end; diff --git a/ogWebconsole/src/app/components/global-status/global-status.component.html b/ogWebconsole/src/app/components/global-status/global-status.component.html index dce42df..d6f2044 100644 --- a/ogWebconsole/src/app/components/global-status/global-status.component.html +++ b/ogWebconsole/src/app/components/global-status/global-status.component.html @@ -2,35 +2,40 @@

{{'GlobalStatus' | translate}}

+ - - +
+ + +
- - +
+ + +
Content 3 diff --git a/ogWebconsole/src/app/components/global-status/global-status.component.ts b/ogWebconsole/src/app/components/global-status/global-status.component.ts index 6272b4b..cd17fd2 100644 --- a/ogWebconsole/src/app/components/global-status/global-status.component.ts +++ b/ogWebconsole/src/app/components/global-status/global-status.component.ts @@ -109,4 +109,4 @@ export class GlobalStatusComponent implements OnInit { this.loadDhcpStatus(); } } -} +} \ No newline at end of file diff --git a/ogWebconsole/src/app/layout/header/header.component.ts b/ogWebconsole/src/app/layout/header/header.component.ts index 8365ed9..7e50f1d 100644 --- a/ogWebconsole/src/app/layout/header/header.component.ts +++ b/ogWebconsole/src/app/layout/header/header.component.ts @@ -49,6 +49,11 @@ export class HeaderComponent implements OnInit { } showGlobalStatus() { - this.dialog.open(GlobalStatusComponent) + this.dialog.open(GlobalStatusComponent, { + width: '45vw', + height: '80vh', + // maxWidth: '60vw', + // maxHeight: '60vh' + }) } }