Improve block link preview legibility

This commit is contained in:
Mononaut 2022-07-26 21:50:38 +00:00
parent fbf15f05ed
commit a67c0b166c
No known key found for this signature in database
GPG Key ID: 61B952CAF4838F94
3 changed files with 23 additions and 12 deletions

View File

@ -26,10 +26,6 @@
{{ block?.timestamp * 1000 | date:'yyyy-MM-dd HH:mm' }}
</td>
</tr>
<tr>
<td i18n="block.size">Size</td>
<td [innerHTML]="'&lrm;' + (block?.size | bytes: 2)"></td>
</tr>
<tr>
<td i18n="block.weight">Weight</td>
<td [innerHTML]="'&lrm;' + (block?.weight | wuBytes: 2)"></td>
@ -51,12 +47,6 @@
</td>
</ng-template>
</tr>
<tr *ngIf="network !== 'liquid' && network !== 'liquidtestnet'">
<td i18n="block.subsidy-and-fees|Total subsidy and fees in a block">Subsidy + fees:</td>
<td>
<app-amount [satoshis]="block?.extras.reward" digitsInfo="1.2-3" [noFiat]="true"></app-amount>
</td>
</tr>
</ng-template>
<tr *ngIf="network !== 'liquid' && network !== 'liquidtestnet'">
<td i18n="block.miner">Miner</td>

View File

@ -1,7 +1,27 @@
.box {
padding: 2rem 6rem;
padding: 2rem 3rem;
}
.block-title {
margin-bottom: 0.5em;
margin-bottom: 0.75em;
font-size: 42px;
::ng-deep .next-previous-blocks {
font-size: 42px;
}
}
.table {
font-size: 24px;
}
.chart-container {
flex-grow: 0;
flex-shrink: 0;
width: 420px;
min-width: 420px;
}
::ng-deep .symbol {
font-size: 18px;
}

View File

@ -20,6 +20,7 @@
align-items: center;
background: #11131f;
text-align: start;
font-size: 1.2em;
}
.footer-brand {