Skip to content

Commit

Permalink
change bg color of unstake modal
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMakka committed Nov 14, 2024
1 parent f49510e commit bfb9585
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions base/components/AutoCompounder/Modals/BaseModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
} from "./styles";

interface BaseModalProps {
sx?: any;
open: boolean;
onClose: () => void;
title: string;
Expand All @@ -24,6 +25,7 @@ const ContentContainer = styled(Box)({
});

const BaseModal: React.FC<BaseModalProps> = ({
sx,
open,
onClose,
title,
Expand Down Expand Up @@ -51,6 +53,7 @@ const BaseModal: React.FC<BaseModalProps> = ({
disableEnforceFocus
disableEscapeKeyDown
slots={{ backdrop: CustomBackdrop }}
sx={{ ...sx }}
slotProps={{
backdrop: {
timeout: 500,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ export const WithdrawConfirmationModal: React.FC<WithdrawModalProps> = ({
onClose={handleClose}
showCloseButton
aria-labelledby="withdraw-modal"
sx={{ "& > .MuiBox-root": { background: "#393939" } }}
>
<Box>
<Stack spacing={2}>
Expand All @@ -273,7 +274,6 @@ export const WithdrawConfirmationModal: React.FC<WithdrawModalProps> = ({
marginBottom: "8px",
fontSize: "1.6rem",
fontWeight: 500,
// fontSize: "14px",
}}
>
Amount to Unstake
Expand Down

0 comments on commit bfb9585

Please sign in to comment.