Skip to content

Commit

Permalink
fix: 시간표 border 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
hanagertrudeKim committed May 9, 2024
1 parent fdb681a commit a0c62b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/components/TimetablePage/Timetable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,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`,
}}
>
<h4>
Expand Down

0 comments on commit a0c62b0

Please sign in to comment.