mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
Fix mining/liquid dashboard widget heights
This commit is contained in:
parent
efdc83d4bb
commit
7de4a03f1b
@ -26,7 +26,7 @@
|
|||||||
height: 345px;
|
height: 345px;
|
||||||
}
|
}
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
height: 472px;
|
height: 440px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
height: 345px;
|
height: 345px;
|
||||||
}
|
}
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
height: 442px;
|
height: 439px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user