Merge pull request #4669 from mempool/mononaut/fix-dashboard-sizes

Fix mining/liquid dashboard widget heights
This commit is contained in:
softsimon 2024-02-09 14:11:43 +08:00 committed by GitHub
commit 925d51f40e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
height: 325px;
}
@media (min-width: 992px) {
height: 400px;
height: 409px;
}
}

View File

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

View File

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

View File

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