fix: reword unlock instructions to fit in single line for mobile devices
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

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