Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export default function KeystoresDataGrid({
</Tooltip>
</div>
</div>
<div style={{ height: 400, width: "100%" }}>
<div style={{ width: "100%", height: "80%" }}>
<DataGrid
rows={customRows}
onCellClick={(params) => {
Expand Down
22 changes: 16 additions & 6 deletions packages/ui/src/components/ValidatorList/ValidatorList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,29 +72,39 @@ export default function ValidatorList({
};

return (
<div>
<div style={{ height: "90vh" }}>
{userMode === "advanced" && <StakerConfig stakerConfig={stakerConfig} />}
<Box
sx={{
margin: { xs: 2, sm: 3, md: 5 },
display: "flex",
flexDirection: "column",
alignItems: "left"
alignItems: "left",
height: "100%"
}}
>
{(network === "hoodi" || network === "mainnet") && <SmoothBanner />}

<Box>
<Box sx={{ flexGrow: 1 }}>
{validatorsGetError ? (
<Alert severity="error" sx={{ marginTop: 2 }} variant="filled">
{validatorsGetError}
</Alert>
) : loading ? (
<CircularProgress
<Box
sx={{
marginBottom: 4
display: "flex",
justifyContent: "center",
height: "100%",
alignItems: "center"
}}
/>
>
<CircularProgress
sx={{
marginBottom: 4
}}
/>
</Box>
) : validatorsGet ? (
<>
<KeystoresDataGrid
Expand Down