Add link to faq next to block health metric

This commit is contained in:
hunicus 2023-01-31 01:06:33 -05:00
parent 573fe3515a
commit ff3af3a159
No known key found for this signature in database
GPG Key ID: 24837C51B6D81FD9
2 changed files with 7 additions and 3 deletions

View File

@ -53,7 +53,7 @@
<td [innerHTML]="'&lrm;' + (block.weight | wuBytes: 2)"></td>
</tr>
<tr *ngIf="auditAvailable">
<td i18n="latest-blocks.health">Health</td>
<td i18n="latest-blocks.health">Health <a class="info-link" [routerLink]="['/docs/faq' | relativeUrl ]" fragment="what-is-block-health"><fa-icon [icon]="['fas', 'info-circle']" [fixedWidth]="true"></fa-icon></a></td>
<td>
<span
class="health-badge badge"

View File

@ -34,6 +34,10 @@
text-align: left;
}
}
.info-link {
color: rgba(255, 255, 255, 0.4);
margin-left: 5px;
}
}
}