Skip to content

Commit

Permalink
fix: update container name to CloseButtonContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
jongomez committed Oct 27, 2023
1 parent 607503a commit d6a3e83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/FullscreenDialog/FullscreenDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ export default function FullscreenDialog({
return (
<FullscreenDialogContainer {...props}>
<MainContentContainer>
<CloseIconContainer>
<CloseButtonContainer>
<IconButton size="small" onClick={() => onClose()}>
<CloseIcon color="primary" />
</IconButton>
</CloseIconContainer>
</CloseButtonContainer>
{children}
</MainContentContainer>
</FullscreenDialogContainer>
)
}

const CloseIconContainer = styled.div`
const CloseButtonContainer = styled.div`
position: fixed;
top: 8px;
width: ${uiConfigs.maxContainerWidth}px;
Expand Down

0 comments on commit d6a3e83

Please sign in to comment.