fix: reword unlock instructions to fit in single line for mobile devices

This commit is contained in:
鲁树人 2023-06-10 17:54:24 +01:00
parent d73a51a931
commit 8925d43b62

View File

@ -1,5 +1,5 @@
import { useDropzone } from 'react-dropzone';
import { Box, Text } from '@chakra-ui/react';
import { chakra, Box, Text } from '@chakra-ui/react';
import { UnlockIcon } from '@chakra-ui/icons';
import { useAppDispatch } from '~/hooks';
@ -62,16 +62,16 @@ export function SelectFile() {
<Box pb={3}>
<UnlockIcon boxSize={8} />
</Box>
<Box textAlign="center">
<Text as="span" color="teal.400">
<Text textAlign="center">
<chakra.span as="span" color="teal.400">
</Text>
</chakra.span>
<Text fontSize="sm" opacity="50%">
</Text>
</Box>
</Text>
</Box>
);
}