From 24925559293b6f1ea80f85c6aee91cb982014e07 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Mon, 12 Oct 2020 21:11:41 -0400 Subject: [PATCH] Simplify spacing calculations --- .../DirectoryInformation/DirectoryInformation.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/DirectoryInformation/DirectoryInformation.js b/src/components/DirectoryInformation/DirectoryInformation.js index cb7c494..1bb1497 100644 --- a/src/components/DirectoryInformation/DirectoryInformation.js +++ b/src/components/DirectoryInformation/DirectoryInformation.js @@ -1,6 +1,6 @@ import React from "react"; import PropTypes from "prop-types"; -import { TableContainer, Table, TableRow, TableCell, makeStyles } from "@material-ui/core"; +import { TableContainer, Table, TableRow, TableCell, Paper, makeStyles } from "@material-ui/core"; import webqueue2Theme from "../../theme"; export default function DirectoryInformation({ section }) { @@ -9,14 +9,14 @@ export default function DirectoryInformation({ section }) { const useStyles = makeStyles((theme) => ({ headerCell: { borderBottom: "none", - paddingTop: "3px", - paddingBottom: "3px", + paddingTop: theme.spacing(0.5), + paddingBottom: theme.spacing(0.5), }, bodyCell: { wordBreak: "break-word", borderBottom: "none", - paddingTop: "3px", - paddingBottom: "3px", + paddingTop: theme.spacing(0.5), + paddingBottom: theme.spacing(0.5), }, stripedRow: { '&:nth-of-type(odd)': {