Liquid UX fixes

fixes #1683
fixes #1681
This commit is contained in:
softsimon 2022-05-21 02:07:43 +04:00
parent 3bdd11ab37
commit 36f56de4f1
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
3 changed files with 3 additions and 5 deletions

View File

@ -114,7 +114,7 @@
<td><span class="skeleton-loader"></span></td>
</tr>
</ng-template>
<tr>
<tr *ngIf="network !== 'liquid' && network !== 'liquidtestnet'">
<td i18n="block.miner">Miner</td>
<td *ngIf="stateService.env.MINING_DASHBOARD">
<a placement="bottom" [routerLink]="['/mining/pool' | relativeUrl, block.extras.pool.slug]" class="badge"

View File

@ -9,8 +9,7 @@
<fa-icon [icon]="['fas', 'download']" [fixedWidth]="true"></fa-icon>
</button>
<form [formGroup]="radioGroupForm" class="formRadioGroup"
[class]="stateService.env.MINING_DASHBOARD ? 'mining' : ''" (click)="saveGraphPreference()">
<form [formGroup]="radioGroupForm" class="formRadioGroup" (click)="saveGraphPreference()">
<div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="dateSpan">
<label ngbButtonLabel class="btn-primary btn-sm">
<input ngbButton type="radio" [value]="'2h'" [routerLink]="['/graphs' | relativeUrl]" fragment="2h"> 2H

View File

@ -51,8 +51,7 @@
font-size: 14px;
}
}
}
.formRadioGroup.mining {
@media (min-width: 991px) {
position: relative;
top: -65px;