Skip to content
Merged
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
106 changes: 53 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@chainsafe/ssz": "^1.3.0",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^7.3.9",
"@mui/material": "^7.3.9",
"@mui/icons-material": "^9.0.0",
"@mui/material": "^9.0.0",
"@reown/appkit": "^1.8.19",
"@reown/appkit-adapter-wagmi": "^1.8.19",
"@tanstack/react-query": "^5.90.20",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ErrorSplash/ErrorSplash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Box, Link, Paper, Typography } from "@mui/material";
export const ErrorSplash = () => {
return (
<Box className="flex h-screen items-center justify-center bg-background">
<Box height={400}>
<Box sx={{ height: 400 }}>
<Box className="flex size-full flex-col items-center justify-center">
<Paper className="p-10">
<Typography className="mb-8" variant="h5" component="h3">
Expand Down
14 changes: 8 additions & 6 deletions src/components/Input/FilterInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ export const FilterInput = ({
size="small"
value={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
InputProps={{
startAdornment: (
<InputAdornment position="start">
<Search className="text-secondaryText" />
</InputAdornment>
),
slotProps={{
input: {
startAdornment: (
<InputAdornment position="start">
<Search className="text-secondaryText" />
</InputAdornment>
),
},
}}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,20 +295,22 @@ export const PartialWithdrawValidatorTable = ({
)
}
disabled={!canWithdraw}
InputProps={{
inputProps: {
min: 0,
max: maxWithdrawal,
onWheel: (e) => e.currentTarget.blur(),
onKeyDown: (e) => {
if (
e.key === "+" ||
e.key === "-" ||
e.key === "e" ||
e.key === "E"
) {
e.preventDefault();
}
slotProps={{
input: {
inputProps: {
min: 0,
max: maxWithdrawal,
onWheel: (e) => e.currentTarget.blur(),
onKeyDown: (e) => {
if (
e.key === "+" ||
e.key === "-" ||
e.key === "e" ||
e.key === "E"
) {
e.preventDefault();
}
},
},
},
}}
Expand Down
28 changes: 15 additions & 13 deletions src/components/TopUpValidatorTable/TopUpValidatorTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,19 +293,21 @@ export const TopUpValidatorTable = ({
)
}
disabled={!canTopUp}
InputProps={{
inputProps: {
min: 1,
onWheel: (e) => e.currentTarget.blur(),
onKeyDown: (e) => {
if (
e.key === "+" ||
e.key === "-" ||
e.key === "e" ||
e.key === "E"
) {
e.preventDefault();
}
slotProps={{
input: {
inputProps: {
min: 1,
onWheel: (e) => e.currentTarget.blur(),
onKeyDown: (e) => {
if (
e.key === "+" ||
e.key === "-" ||
e.key === "e" ||
e.key === "E"
) {
e.preventDefault();
}
},
},
},
}}
Expand Down
12 changes: 7 additions & 5 deletions src/components/ValidatorMenu/ValidatorMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ export const ValidatorMenu = ({
anchorEl={anchorEl}
open={!!anchorEl && !!validator}
onClose={onClose}
PaperProps={{
sx: {
backgroundColor: "#333333",
color: "#ffffff",
border: "1px solid #404040",
slotProps={{
paper: {
sx: {
backgroundColor: "#333333",
color: "#ffffff",
border: "1px solid #404040",
},
},
}}
>
Expand Down
10 changes: 8 additions & 2 deletions src/modals/BaseDialog/BaseDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Dialog, DialogProps, Paper, styled } from "@mui/material";
import React from "react";

interface StyledPaperProps {
wide?: boolean;
Expand Down Expand Up @@ -41,8 +42,13 @@ export const BaseDialog = ({
maxWidth={false}
fullWidth={false}
fullScreen={isFullscreen}
PaperComponent={StyledPaper}
PaperProps={{ wide, isFullscreen }}
slots={{ paper: StyledPaper }}
slotProps={{
paper: {
wide,
isFullscreen,
} as React.ComponentProps<typeof StyledPaper>,
}}
>
{children}
</Dialog>
Expand Down
6 changes: 3 additions & 3 deletions src/modals/Consolidate/ConsolidateConfirmModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ export const ConsolidateConfirmModal: React.FC<

return (
<BaseDialog open={open} onClose={handleClose}>
<DialogContent sx={{ p: 0 }}>
<Box sx={{ p: 0 }}>
<DialogContent className="flex flex-col max-h-[85vh] p-0">
<Box className="flex flex-col h-full p-0">
<Box
sx={{
display: "flex",
Expand All @@ -115,7 +115,7 @@ export const ConsolidateConfirmModal: React.FC<
</Box>
</Box>

<Box className="px-6">
<Box className="flex flex-col flex-1 px-6">
<QueueWarning type="consolidation" />

<Typography variant="h6" className="mb-3 font-semibold text-white">
Expand Down
Loading
Loading