김대휘

디테일 수정

......@@ -2,6 +2,8 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="%PUBLIC_URL%/index.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
......
......@@ -90,7 +90,7 @@ export default function BodyLayout() {
return (
<>
{showDate}
<Grid item xs={6} sm={6} md={3}>
<Grid item xs={12} sm={6} md={3}>
<TodoCard
key={card.id}
data={card}
......
......@@ -120,6 +120,7 @@ export default function AddButton({ data, handleClose }) {
ck: initCK.join(","),
});
handleClose();
window.location.reload(false);
}
};
......
......@@ -10,13 +10,14 @@ import SettingButton from "./SettingButton.js";
const useStyles = makeStyles({
root: {
margin: 10,
margin: "0.5rem",
},
date: {
fontSize: 14,
fontSize: "0.8rem",
float: "left",
},
title: {
fontSize: "1.4rem",
clear: "both",
float: "left",
},
......
......@@ -16,7 +16,8 @@ const useStyles = makeStyles((theme) => ({
backgroundColor: "rgba(0,0,0,0.8)",
},
paper: {
width: "25rem",
width: "80%",
maxWidth:"25rem",
height: "28rem",
marginTop: "8rem",
marginLeft: "auto",
......
......@@ -16,7 +16,8 @@ const useStyles = makeStyles((theme) => ({
backgroundColor: "rgba(0,0,0,0.8)",
},
paper: {
width: "25rem",
width: "80%",
maxWidth:"25rem",
height: "28rem",
marginTop: "8rem",
marginLeft: "auto",
......