diff --git a/src/components/MetadataEditView/MetadataEditView.js b/src/components/MetadataEditView/MetadataEditView.js index e5b4742..b40bdbf 100644 --- a/src/components/MetadataEditView/MetadataEditView.js +++ b/src/components/MetadataEditView/MetadataEditView.js @@ -3,7 +3,6 @@ import PropTypes from 'prop-types'; import MetadataRow from '../_library/MetadataRow'; import Fieldset from '../_library/Fieldset'; import LoadingIndicator from '../LoadingIndicator'; -import NodeSidebar from '../NodeSidebar'; import Errors from '../Errors'; import { LoadingContainer } from '../LoadingIndicator/styles'; import { Container, Content, ScrollContainer } from './styles'; @@ -20,8 +19,6 @@ DefaultValueComponent.propTypes = { const MetadataEditView = ({ data, isLoading, - id, - itemType, errors, }) => ( @@ -29,7 +26,6 @@ const MetadataEditView = ({ - {data.map(({ values, groupLabel }) => ( diff --git a/src/components/MetadataEditView/styles.js b/src/components/MetadataEditView/styles.js index 13579ba..341d83f 100644 --- a/src/components/MetadataEditView/styles.js +++ b/src/components/MetadataEditView/styles.js @@ -8,10 +8,10 @@ export const Container = styled.div` `; export const ScrollContainer = styled.div` - padding-top: 3.5rem; + padding-top: 1rem; height: calc(100vh - 7rem); overflow-y: auto; - width: calc(100vw - 25rem); + width: calc(100vw); `; export const Content = styled.div` diff --git a/src/pages/documentMetadataEdit/index.js b/src/pages/documentMetadataEdit/index.js index 8377491..1b4f9ca 100644 --- a/src/pages/documentMetadataEdit/index.js +++ b/src/pages/documentMetadataEdit/index.js @@ -2,12 +2,10 @@ import React from 'react'; import PropTypes from 'prop-types'; import MetadataEditView from '../../components/MetadataEditView'; import Header from '../../components/Header'; -import NodeHeader from '../../components/NodeHeader'; const DocumentMetadataEditPage = ({ match }) => ( <>
- );