diff --git a/src/components/TimetablePage/LectureTable/index.tsx b/src/components/TimetablePage/LectureTable/index.tsx index 2a6131e5e..a1bed44b4 100644 --- a/src/components/TimetablePage/LectureTable/index.tsx +++ b/src/components/TimetablePage/LectureTable/index.tsx @@ -62,14 +62,15 @@ function LectureTable({ key={header.key} > {header.label} - {headerIndex !== LECTURE_TABLE_HEADER.length - 1 && ( + {/* 내림차순 기능 추가할때 다시 복구 */} + {/* {headerIndex !== LECTURE_TABLE_HEADER.length - 1 && ( <>
- )} + )} */}
))} diff --git a/src/components/TimetablePage/Timetable/Timetable.module.scss b/src/components/TimetablePage/Timetable/Timetable.module.scss index 9e3bf5a21..1eb72e048 100644 --- a/src/components/TimetablePage/Timetable/Timetable.module.scss +++ b/src/components/TimetablePage/Timetable/Timetable.module.scss @@ -43,8 +43,8 @@ &--time { & > div { display: flex; - padding-left: 3px; align-items: center; + justify-content: center; font-family: Arial, Helvetica, sans-serif; } } @@ -87,7 +87,7 @@ flex-direction: column; position: absolute; z-index: 3; - padding: 4px 2px 0; + padding: 6px 4px 0; font-size: 0.9em; line-height: 1.2; font-family: NanumSquare, serif; diff --git a/src/components/TimetablePage/Timetable/index.tsx b/src/components/TimetablePage/Timetable/index.tsx index 8f01dab9a..10c6eaa38 100644 --- a/src/components/TimetablePage/Timetable/index.tsx +++ b/src/components/TimetablePage/Timetable/index.tsx @@ -83,9 +83,7 @@ function Timetable({ // eslint-disable-next-line react/no-array-index-key key={`value-${index}`} > -
- {value} -
+ {value} ))}
@@ -111,9 +109,9 @@ function Timetable({ key={lectureIndex} style={{ backgroundColor: BACKGROUND_COLOR[lectureIndex % 11], - top: `${start * rowHeight}px`, + top: `${start * rowHeight + 1}px`, width: isMobile ? undefined : `${columnWidth}px`, - height: `${(end - start + 1) * rowHeight}px`, + height: `${(end - start + 1) * rowHeight - 1}px`, }} >