diff --git a/client/src/components/Schedule/ScheduleItem.js b/client/src/components/Schedule/ScheduleItem.js index 52313b86c8bb3eae68a95836f3cd83b45999d15d..6a16507d91e56c773d9346a63d7b1fff964e4033 100644 --- a/client/src/components/Schedule/ScheduleItem.js +++ b/client/src/components/Schedule/ScheduleItem.js @@ -6,7 +6,7 @@ import styles from "./schedule.module.scss"; const ScheduleItem = () => { const [error, setError] = useState("") - async function delSchedule () { + async function delSchedule() { try { setError("") alert("해당 일정을 성공적으로 삭제하였습니다.") @@ -20,21 +20,21 @@ const ScheduleItem = () => {
-
+
sadsadsadsa
- dlkasjflsajflasjflsakfjlsajflalsafjsask
fjlakdjflajflaksjlksajdlksajdslkafjlsakflksjflasjflksjslakjflsakjflsajflsakjlasjflksajlfsja -
+ dlkasjflsajflasjflsakfjlsajflalsafjsask
fjlakdjflajflaksj lksajdlksajs dslkafjlsakflksjflasjflksjslakjflsakjflsajflsakjlasjflksajlfsja +
수정
diff --git a/client/src/components/Schedule/schedule.module.scss b/client/src/components/Schedule/schedule.module.scss index 0db5e895fd73202f912480e0aba7bb351b55cc19..7a8067daf94fa3bc75d0782a41857102540246f5 100644 --- a/client/src/components/Schedule/schedule.module.scss +++ b/client/src/components/Schedule/schedule.module.scss @@ -3,6 +3,10 @@ } .activeBtn { + & .title { + width: inherit; + } + &:focus { border-color: black; } @@ -11,7 +15,11 @@ &:not(.collapsed) { color: black; border-bottom: 1px solid #000000; - white-space: normal; + + & .title { + white-space: normal; + word-break: break-all; + } & .period { display: block; @@ -25,9 +33,11 @@ // 숨겨졌을 때 &[class~="collapsed"] { border-bottom: 0; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; + & .title { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } & .period { display: none; @@ -44,7 +54,8 @@ } .textBox { - white-space: pre-line; + white-space: pre-wrap; + word-break: break-all; } .header {