.header_container{
width: 90%;
max-width: 90%;
background-color: #fff;
display: flex;
justify-content: space-between;
border-bottom: 1px solid rgba(165, 28, 28, 0.952);
position: fixed;
top: 0;
}
body {
margin: 0;
width: 100vw;
height: 100vh;
background-color: #fff;
}
import React from "react";
import classes from "./ContentCard.module.css";
function ContentCard(props) {
return <div className={classes.content_card}>{props.children}</div>;
}
export default ContentCard;
.content_card{
padding: 40px;
}
Outlet을 Card 컴포넌트로 감싸주고 그 안에서 padding 을 주니 해결되었다.