Skip to content

Commit

Permalink
Merge pull request #625 from sudhanshutech/modal/style
Browse files Browse the repository at this point in the history
Fix some modal styles
  • Loading branch information
sudhanshutech authored May 20, 2024
2 parents 3813ec4 + 91ee635 commit 4fad0b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/custom/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DialogProps, styled } from '@mui/material';
import React, { useRef, useState } from 'react';
import { Dialog, IconButton, Paper, Typography } from '../../base';
import { ContainedButton, OutlinedButton, TextButton } from '../../base/Button/Button';
import { iconLarge } from '../../constants/iconsSizes';
import { iconLarge, iconMedium } from '../../constants/iconsSizes';
import { CloseIcon, InfoCircleIcon } from '../../icons';
import { CustomTooltip } from '../CustomTooltip';

Expand Down Expand Up @@ -51,6 +51,7 @@ const StyledDialog = styled(Dialog)`
.MuiDialog-paper {
width: auto;
max-width: 100%;
border-radius: 0.5rem;
}
}
`;
Expand Down Expand Up @@ -161,7 +162,7 @@ export const ModalFooter: React.FC<ModalFooterProps> = ({ helpText, children, va
{helpText && (
<CustomTooltip title={helpText} placement="top">
<IconButton>
<InfoCircleIcon {...iconLarge} className="InfoCircleIcon" />
<InfoCircleIcon {...iconMedium} className="InfoCircleIcon" />
</IconButton>
</CustomTooltip>
)}
Expand Down

0 comments on commit 4fad0b5

Please sign in to comment.