Improve block link preview legibility
This commit is contained in:
		
							parent
							
								
									fbf15f05ed
								
							
						
					
					
						commit
						a67c0b166c
					
				@ -26,10 +26,6 @@
 | 
				
			|||||||
              {{ block?.timestamp * 1000 | date:'yyyy-MM-dd HH:mm' }}
 | 
					              {{ block?.timestamp * 1000 | date:'yyyy-MM-dd HH:mm' }}
 | 
				
			||||||
            </td>
 | 
					            </td>
 | 
				
			||||||
          </tr>
 | 
					          </tr>
 | 
				
			||||||
          <tr>
 | 
					 | 
				
			||||||
            <td i18n="block.size">Size</td>
 | 
					 | 
				
			||||||
            <td [innerHTML]="'‎' + (block?.size | bytes: 2)"></td>
 | 
					 | 
				
			||||||
          </tr>
 | 
					 | 
				
			||||||
          <tr>
 | 
					          <tr>
 | 
				
			||||||
            <td i18n="block.weight">Weight</td>
 | 
					            <td i18n="block.weight">Weight</td>
 | 
				
			||||||
            <td [innerHTML]="'‎' + (block?.weight | wuBytes: 2)"></td>
 | 
					            <td [innerHTML]="'‎' + (block?.weight | wuBytes: 2)"></td>
 | 
				
			||||||
@ -51,12 +47,6 @@
 | 
				
			|||||||
                  </td>
 | 
					                  </td>
 | 
				
			||||||
                </ng-template>
 | 
					                </ng-template>
 | 
				
			||||||
              </tr>
 | 
					              </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>
 | 
					            </ng-template>
 | 
				
			||||||
            <tr *ngIf="network !== 'liquid' && network !== 'liquidtestnet'">
 | 
					            <tr *ngIf="network !== 'liquid' && network !== 'liquidtestnet'">
 | 
				
			||||||
              <td i18n="block.miner">Miner</td>
 | 
					              <td i18n="block.miner">Miner</td>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +1,27 @@
 | 
				
			|||||||
.box {
 | 
					.box {
 | 
				
			||||||
  padding: 2rem 6rem;
 | 
					  padding: 2rem 3rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.block-title {
 | 
					.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;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -20,6 +20,7 @@
 | 
				
			|||||||
    align-items: center;
 | 
					    align-items: center;
 | 
				
			||||||
    background: #11131f;
 | 
					    background: #11131f;
 | 
				
			||||||
    text-align: start;
 | 
					    text-align: start;
 | 
				
			||||||
 | 
					    font-size: 1.2em;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .footer-brand {
 | 
					  .footer-brand {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user