Fix mining/liquid dashboard widget heights

This commit is contained in:
Mononaut 2024-02-08 22:50:47 +00:00
parent efdc83d4bb
commit 7de4a03f1b
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
height: 345px; height: 345px;
} }
@media (min-width: 992px) { @media (min-width: 992px) {
height: 472px; height: 440px;
} }
} }

View File

@ -42,7 +42,7 @@ export class MiningDashboardComponent implements OnInit, AfterViewInit {
@HostListener('window:resize', ['$event']) @HostListener('window:resize', ['$event'])
onResize(): void { onResize(): void {
if (window.innerWidth >= 992) { if (window.innerWidth >= 992) {
this.graphHeight = 375; this.graphHeight = 335;
} else if (window.innerWidth >= 768) { } else if (window.innerWidth >= 768) {
this.graphHeight = 245; this.graphHeight = 245;
} else { } else {

View File

@ -29,7 +29,7 @@
height: 345px; height: 345px;
} }
@media (min-width: 992px) { @media (min-width: 992px) {
height: 442px; height: 439px;
} }
} }