Skip to content
Snippets Groups Projects
Commit 07eb880c authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

fix(ui): fix ui issues

parent d5126a1c
No related branches found
No related tags found
1 merge request!43Sprint #19
......@@ -44,7 +44,7 @@ const FileItem = ({
<Root data-test-id={`file-${file.id}`} {...rest}>
{typeof dragHandle === 'function' ? dragHandle() : dragHandle}
<FileInfo>
<Text mr={1} secondary>
<Text mr={1} secondary whiteSpace="nowrap">
{file.name}
</Text>
<Label>{fileSize}</Label>
......
......@@ -24,7 +24,7 @@ const ManuscriptEicDecision = ({
<Item flex={0} vertical>
<Label required>Decision</Label>
<ValidatedField
component={input => <CutomMenu {...input} options={options} />}
component={input => <CustomMenu {...input} options={options} />}
name="decision"
validate={[required]}
/>
......@@ -78,7 +78,7 @@ export default compose(
})),
reduxForm({
form: 'eic-decision',
onSubmit: (values, disaptch, { submitDecision }) => modalProps => {
onSubmit: (values, dispatch, { submitDecision }) => modalProps => {
submitDecision(values, modalProps)
},
}),
......@@ -91,7 +91,7 @@ const Root = styled.div`
padding: ${th('gridUnit')};
`
const CutomMenu = styled(Menu)`
const CustomMenu = styled(Menu)`
min-width: calc(${th('gridUnit')} * 30);
`
......
......@@ -53,7 +53,7 @@ export default compose(
// #region styles
const Root = styled.div`
height: calc(100vh - 200px);
height: calc(100vh - 204px);
overflow-y: auto;
div[open] {
width: auto;
......
......@@ -77,7 +77,7 @@ const MainContainer = styled.div`
display: flex;
flex-direction: column;
overflow-y: auto;
padding: 0 calc(${th('gridUnit')} * 12);
padding-top: calc(${th('appBar.height')} + ${th('gridUnit')} * 3 )};
padding: calc(${th('appBar.height')} + ${th('gridUnit')} * 3)
calc(${th('gridUnit')} * 12) calc(${th('gridUnit')} * 2);
`
// #endregion
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