More status page polish
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<footer class="footer">
|
||||
<footer class="footer" [class.inline-footer]="inline">
|
||||
<div class="container-xl">
|
||||
<div class="row text-center" *ngIf="mempoolInfoData$ | async as mempoolInfoData">
|
||||
<div class="col d-none d-sm-block">
|
||||
|
||||
@@ -6,6 +6,12 @@
|
||||
background-color: #1d1f31;
|
||||
box-shadow: 15px 15px 15px 15px #000;
|
||||
z-index: 10;
|
||||
|
||||
&.inline-footer {
|
||||
position: relative;
|
||||
bottom: unset;
|
||||
top: -44px;
|
||||
}
|
||||
}
|
||||
|
||||
.sub-text {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { Component, OnInit, ChangeDetectionStrategy, Input } from '@angular/core';
|
||||
import { StateService } from '../../services/state.service';
|
||||
import { Observable, combineLatest } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
@@ -23,6 +23,8 @@ interface MempoolInfoData {
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class FooterComponent implements OnInit {
|
||||
@Input() inline = false;
|
||||
|
||||
mempoolBlocksData$: Observable<MempoolBlocksData>;
|
||||
mempoolInfoData$: Observable<MempoolInfoData>;
|
||||
vBytesPerSecondLimit = 1667;
|
||||
|
||||
Reference in New Issue
Block a user