feat: photo editor title
This commit is contained in:
parent
d69530b340
commit
265e5f84c2
|
@ -614,5 +614,6 @@
|
|||
"COLORS": "Colors",
|
||||
"FLIP": "Flip",
|
||||
"ROTATION": "Rotation",
|
||||
"RESET": "Reset"
|
||||
"RESET": "Reset",
|
||||
"PHOTO_EDITOR": "Photo Editor"
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ import {
|
|||
IconButton,
|
||||
Tab,
|
||||
Tabs,
|
||||
Typography,
|
||||
useTheme,
|
||||
} from '@mui/material';
|
||||
import {
|
||||
|
@ -217,12 +218,15 @@ const ImageEditorOverlay = (props: IProps) => {
|
|||
backdropFilter: 'blur(5px)',
|
||||
}}
|
||||
open>
|
||||
<Box padding="3rem" width="100%" height="100%">
|
||||
<Typography variant="h2" fontWeight="bold">
|
||||
{t('PHOTO_EDITOR')}
|
||||
</Typography>
|
||||
<Box
|
||||
display="inline-block"
|
||||
width="100%"
|
||||
height="100%"
|
||||
overflow="hidden"
|
||||
padding="3rem"
|
||||
boxSizing={'border-box'}>
|
||||
<Box
|
||||
height="100%"
|
||||
|
@ -240,7 +244,8 @@ const ImageEditorOverlay = (props: IProps) => {
|
|||
style={{
|
||||
objectFit: 'contain',
|
||||
display:
|
||||
fileURL === null || canvasLoading
|
||||
fileURL === null ||
|
||||
canvasLoading
|
||||
? 'none'
|
||||
: 'block',
|
||||
position: 'absolute',
|
||||
|
@ -254,6 +259,7 @@ const ImageEditorOverlay = (props: IProps) => {
|
|||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
<Box
|
||||
height="100%"
|
||||
width="30rem"
|
||||
|
|
Loading…
Reference in a new issue