Skip to content

Commit

Permalink
Merge pull request #66 from Leets-Official/fix/#65/Today박스크기-수정
Browse files Browse the repository at this point in the history
[fix] #65 Today박스크기 UI수정하기
  • Loading branch information
Minkyu0424 authored Dec 14, 2023
2 parents 8b3a504 + 486e6d6 commit 24ac0fd
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/components/AdminNavBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import AttendanceCheck from "./Admin/AttendanceCheck";
const Box = styled.div`
display: flex;
flex-direction: column;
width: 50%;
width: 40%;
height: 100%;
`;

Expand All @@ -36,7 +36,7 @@ const TodayBox = styled.div`
height: 70%;
border-radius: 10px;
column-gap: 1em;
margin: 0.55em;
margin: 10px;
overflow-y: auto;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
`;
Expand Down
10 changes: 7 additions & 3 deletions src/components/Attendance.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ import { useCookies } from "react-cookie";
const Box = styled.div`
display: flex;
flex-direction: column;
width: 95%;
width: 60%;
height: 100%;
@media screen and (max-width: 1200px) {
width: 100%;
}
`;

const Title = styled.div`
Expand All @@ -32,8 +35,9 @@ const AttendanceBox = styled.div`
height: 70%;
border-radius: 10px;
font-size: 2em;
margin: 0.55em;
padding: 0.4em;
margin-top: 10px;
margin-bottom: 10px;
padding: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
overflow-y: auto;
`;
Expand Down
8 changes: 4 additions & 4 deletions src/components/Today.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import React from "react";
import styled from "styled-components";

const Title = styled.div`
font-size: 30px;
font-size: 28px;
color: #8c8c8c;
`;
const Box = styled.div`
border-radius: 10px;
width: 600px;
height: 100px;
width: 90%;
height: 35%;
background-color: #eeeeee;
display: flex;
padding-left : 20px;
Expand All @@ -18,7 +18,7 @@ const Box = styled.div`

const TodayBox = styled.div`
border-radius: 10px;
width: 600px;
width: 100%;
font-family: "Noto Sans KR", sans-serif;
font-weight: 700;
display: flex;
Expand Down
4 changes: 2 additions & 2 deletions src/components/TodayList.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useCookies } from "react-cookie";
const Box = styled.div`
display: flex;
flex-direction: column;
width: 50%;
width: 40%;
height: 100%;
`;

Expand All @@ -31,7 +31,7 @@ const TodayBox = styled.div`
width: 100%;
height: 70%;
border-radius: 10px;
margin: 1em;
margin: 10px;
padding: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
overflow-y: auto;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const TDBox = styled.div`
display: flex;
width: 100%;
height: 60%;
column-gap: 1em;
column-gap: 20px;
`;
const Admin = () => {
const [windowWidth, setWindowWidth] = useState(window.innerWidth);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const TDBox = styled.div`
display: flex;
width: 100%;
height: 60%;
column-gap: 3em;
column-gap: 40px;
`;
const Main = () => {
const [windowWidth, setWindowWidth] = useState(window.innerWidth);
Expand Down

0 comments on commit 24ac0fd

Please sign in to comment.