fix: update container name to CloseButtonContainer

This commit is contained in:
jongomez 2023-10-27 12:35:12 +01:00 committed by Jon
parent 7e11f91497
commit d46b069e9f
1 changed files with 3 additions and 3 deletions

View File

@ -34,18 +34,18 @@ export default function FullscreenDialog({
return ( return (
<FullscreenDialogContainer {...props}> <FullscreenDialogContainer {...props}>
<MainContentContainer> <MainContentContainer>
<CloseIconContainer> <CloseButtonContainer>
<IconButton size="small" onClick={() => onClose()}> <IconButton size="small" onClick={() => onClose()}>
<CloseIcon color="primary" /> <CloseIcon color="primary" />
</IconButton> </IconButton>
</CloseIconContainer> </CloseButtonContainer>
{children} {children}
</MainContentContainer> </MainContentContainer>
</FullscreenDialogContainer> </FullscreenDialogContainer>
) )
} }
const CloseIconContainer = styled.div` const CloseButtonContainer = styled.div`
position: fixed; position: fixed;
top: 8px; top: 8px;
width: ${uiConfigs.maxContainerWidth}px; width: ${uiConfigs.maxContainerWidth}px;