Commit 33c40ac7 authored by ivan minutillo's avatar ivan minutillo

add max limit

parent 5c3e798f
......@@ -2,7 +2,7 @@ import { Trans } from '@lingui/macro';
import { i18nMark } from '@lingui/react';
import { Input, Textarea } from '@rebass/forms';
import * as React from 'react';
import { Box } from 'rebass/styled-components';
import { Box, Text } from 'rebass/styled-components';
import { FormikHook } from 'ui/@types/types';
import Alert from 'ui/elements/Alert';
import Button from 'ui/elements/Button';
......@@ -85,6 +85,9 @@ export const UploadResource: React.FC<Props> = ({
onFileSelect={onResourceFileSelect}
uploadType="resource"
/>
<Adv>
<Trans>Max filesize: 20MB</Trans>
</Adv>
</ContainerForm>
</Row>
<Row>
......@@ -225,6 +228,10 @@ export const UploadResource: React.FC<Props> = ({
export default UploadResource;
const Adv = styled(Text)`
font-size: 12px;
`;
const Wrapper = styled(Box)`
background: ${props => props.theme.colors.appInverse};
`;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment