Fix footer on bisq
This commit is contained in:
parent
f5d311ca44
commit
a4bf545993
@ -36,7 +36,7 @@
|
|||||||
<h5 class="card-title">US Dollar - BTC/USD</h5>
|
<h5 class="card-title">US Dollar - BTC/USD</h5>
|
||||||
<div class="chart-container">
|
<div class="chart-container">
|
||||||
<ng-container *ngIf="hlocData$ | async as hlocData; else loadingSpinner">
|
<ng-container *ngIf="hlocData$ | async as hlocData; else loadingSpinner">
|
||||||
<app-lightweight-charts [height]="300" [data]="hlocData.hloc" [volumeData]="hlocData.volume" [precision]="2"></app-lightweight-charts>
|
<app-lightweight-charts [height]="300" [data]="hlocData.hloc" [volumeData]="hlocData.volume" [precision]="2"></app-lightweight-charts>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -84,7 +84,7 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</td>
|
</td>
|
||||||
<td>{{ ticker.volume?.num_trades ? ticker.volume?.num_trades : 0 }}</td>
|
<td>{{ ticker.volume?.num_trades ? ticker.volume?.num_trades : 0 }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -105,7 +105,6 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<app-global-footer></app-global-footer>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-template #loadingTmpl>
|
<ng-template #loadingTmpl>
|
||||||
@ -122,4 +121,4 @@
|
|||||||
|
|
||||||
<ng-template #loading>
|
<ng-template #loading>
|
||||||
<div class="skeleton-loader shorter"></div>
|
<div class="skeleton-loader shorter"></div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
@ -84,4 +84,6 @@
|
|||||||
|
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
|
|
||||||
|
<app-global-footer></app-global-footer>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -17,6 +17,12 @@ li.nav-item {
|
|||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
footer > .container-fluid {
|
||||||
|
padding-bottom: 35px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
.navbar {
|
.navbar {
|
||||||
padding: 0rem 2rem;
|
padding: 0rem 2rem;
|
||||||
|
@ -17,6 +17,7 @@ export class BisqMasterPageComponent implements OnInit {
|
|||||||
isMobile = window.innerWidth <= 767.98;
|
isMobile = window.innerWidth <= 767.98;
|
||||||
urlLanguage: string;
|
urlLanguage: string;
|
||||||
networkPaths: { [network: string]: string };
|
networkPaths: { [network: string]: string };
|
||||||
|
footerVisible = false;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private stateService: StateService,
|
private stateService: StateService,
|
||||||
@ -31,6 +32,9 @@ export class BisqMasterPageComponent implements OnInit {
|
|||||||
this.urlLanguage = this.languageService.getLanguageForUrl();
|
this.urlLanguage = this.languageService.getLanguageForUrl();
|
||||||
this.navigationService.subnetPaths.subscribe((paths) => {
|
this.navigationService.subnetPaths.subscribe((paths) => {
|
||||||
this.networkPaths = paths;
|
this.networkPaths = paths;
|
||||||
|
if( paths.bisq === "" ) {
|
||||||
|
this.footerVisible = true;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1147,7 +1147,7 @@ th {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
app-master-page, app-liquid-master-page {
|
app-master-page, app-liquid-master-page, app-bisq-master-page {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user