fix gaps in loading blockchain

This commit is contained in:
Mononaut
2023-02-23 14:31:01 -06:00
parent ee265be55e
commit c65674479a
2 changed files with 8 additions and 1 deletions

View File

@@ -290,6 +290,13 @@ export class BlockchainBlocksComponent implements OnInit, OnChanges, OnDestroy {
};
}
convertStyleForLoadingBlock(style) {
return {
...style,
background: "#2d3348",
};
}
getStyleForLoadingBlock(index: number, animateEnterFrom: number = 0) {
const addLeft = animateEnterFrom || 0;