Skip to content

Commit

Permalink
style: 중복된 강의 제목 방지 문구 추가 및 z-index 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Nangniya committed Oct 16, 2024
1 parent 3b4dcd3 commit 774fd51
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,13 @@
@include Regular_Sub_14;
color: $brand-point;
}
.caption {
display: flex;
flex-direction: column;
gap: 4px;
@include Regular_Sub_14;
color: $light-font_9E;
}
.bottomCaption {
padding-left: 10px;
}
6 changes: 6 additions & 0 deletions src/components/organisms/AddScheduleForm/AddScheduleForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ const AddScheduleForm = ({ onClose }: IProps) => {
value={lectureInfo.title}
onChange={handleChange}
/>
<div className={styles.caption}>
<p>* 강의 제목은 중복될 수 없습니다.</p>
<p className={styles.bottomCaption}>
시간이 다른 강의는 '경제학원론-화'와 같이 입력해주세요.
</p>
</div>
</div>
<div className={styles.colorSelectBox}>
{Object.keys(COLORS).map((bgColor) => (
Expand Down
1 change: 1 addition & 0 deletions src/pages/Main/TimeTable/TimeTable.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@
position: absolute;
right: 4%;
top: 70px;
z-index: 5;
}

0 comments on commit 774fd51

Please sign in to comment.