Feat/1912: visual improvements to validator table (#1949)
* Feat/1912: pinned validator column so that it's unaffected by scrolling * Feat/1912: spacing
This commit is contained in:
parent
596c273657
commit
999c768090
@ -202,6 +202,7 @@ export const NodeList = () => {
|
||||
if (a === b) return 0;
|
||||
return a > b ? 1 : -1;
|
||||
},
|
||||
pinned: 'left',
|
||||
},
|
||||
{
|
||||
field: STATUS,
|
||||
@ -262,6 +263,7 @@ export const NodeList = () => {
|
||||
sortable: true,
|
||||
resizable: true,
|
||||
comparator: (a: string, b: string) => parseFloat(a) - parseFloat(b),
|
||||
cellStyle: { margin: '10px 0' },
|
||||
}),
|
||||
[]
|
||||
);
|
||||
@ -299,7 +301,7 @@ export const NodeList = () => {
|
||||
overlayNoRowsTemplate={t('noValidators')}
|
||||
ref={ref}
|
||||
rowData={nodes}
|
||||
rowHeight={32}
|
||||
rowHeight={52}
|
||||
columnDefs={colDefs}
|
||||
defaultColDef={defaultColDef}
|
||||
animateRows={true}
|
||||
|
Loading…
Reference in New Issue
Block a user