Improve email validation modal design (#12490)

closes https://github.com/twentyhq/core-team-issues/issues/1020
This commit is contained in:
nitin
2025-06-12 22:35:36 +05:30
committed by GitHub
parent 4f307a24b0
commit a5c0922399
7 changed files with 255 additions and 112 deletions

View File

@ -37,7 +37,7 @@ const StyledModalDiv = styled(motion.div)<{
z-index: ${RootStackingContextZIndices.RootModal}; // should be higher than Backdrop's z-index
width: ${({ isMobile, size, theme }) => {
if (isMobile) return theme.modal.size.fullscreen;
if (isMobile) return theme.modal.size.fullscreen.width;
switch (size) {
case 'small':
return theme.modal.size.sm.width;