From 0b42a7020984a8b8bc4d3aa89ac528b983b84fd5 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Mon, 17 Aug 2020 15:04:59 -0400 Subject: [PATCH] Increase padding in ItemView --- src/ItemView.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/ItemView.js b/src/ItemView.js index 7d7b2da..571cf34 100644 --- a/src/ItemView.js +++ b/src/ItemView.js @@ -1,31 +1,27 @@ import React from 'react'; -import { Paper, Typography, Divider, makeStyles } from '@material-ui/core'; +import { Paper, Typography, makeStyles } from '@material-ui/core'; import ItemMetadataView from "./ItemMetadataView" function ItemView(props){ const useStyles = makeStyles((theme) => ({ - "paperMargin": { - padding: theme.spacing(1), + "paperPadding": { + padding: theme.spacing(2), } })); const classes = useStyles(); return( - + - - - {/* */} {props.activeItem["content"] ? props.activeItem["content"].map(line => ( {line} )): "" } - {/* */} ); }