add close button in modals & add app details page

This commit is contained in:
Bekbolsun
2024-01-29 21:10:11 +06:00
parent 5fa22a2d9e
commit 3fa6e1cdaa
32 changed files with 474 additions and 75 deletions

View File

@@ -1,4 +1,6 @@
import {
Box,
BoxProps,
Dialog,
DialogContent,
DialogContentProps,
@@ -56,3 +58,17 @@ export const StyledDialogContent = styled((props: DialogContentProps) => (
padding: '0 1rem 1rem',
}
})
export const StyledCloseButtonWrapper = styled((props: BoxProps) => (
<Box {...props} />
))(() => ({
display: 'flex',
alignItems: 'center',
justifyContent: 'flex-end',
padding: '0.5rem 1rem',
position: 'relative',
'& > .close_btn': {
position: 'absolute',
transform: 'translateY(50%)',
},
}))