HyeonJun Jeon

[FIx] Adjust contents size, Sync schedule color

1 -import { useContext } from "react";
2 -
3 -import { CalendarStateContext } from "../pages/Calendar";
4 import zoomSymbol from "../assets/zoom.png"; 1 import zoomSymbol from "../assets/zoom.png";
5 import ecampusSymbol from "../assets/e-Campus.png"; 2 import ecampusSymbol from "../assets/e-Campus.png";
6 3
...@@ -32,7 +29,7 @@ const ScheduleItem = ({ schedule }) => { ...@@ -32,7 +29,7 @@ const ScheduleItem = ({ schedule }) => {
32 }; 29 };
33 30
34 return ( 31 return (
35 - <div className="ScheduleItem" style={{ borderColor: subjectColor }}> 32 + <div className="ScheduleItem" style={{ borderColor: "#" + subjectColor }}>
36 <img className="s_symbol" src={selectSymbol()} alt="404" /> 33 <img className="s_symbol" src={selectSymbol()} alt="404" />
37 {startTime && ( 34 {startTime && (
38 <span className="s_start">{startTime[0] + ":" + startTime[1]}</span> 35 <span className="s_start">{startTime[0] + ":" + startTime[1]}</span>
......
...@@ -48,7 +48,6 @@ button:disabled { ...@@ -48,7 +48,6 @@ button:disabled {
48 } 48 }
49 49
50 .ScheduleItem { 50 .ScheduleItem {
51 - height: 23px;
52 display: flex; 51 display: flex;
53 margin: 1px 0 1px 0; 52 margin: 1px 0 1px 0;
54 border: solid 3px bisque; 53 border: solid 3px bisque;
......
1 aside { 1 aside {
2 width: 220px; 2 width: 220px;
3 + flex-shrink: 0;
3 margin-right: 8px; 4 margin-right: 8px;
4 padding-top: 50px; 5 padding-top: 50px;
5 } 6 }
......