diff --git a/charinfo.css b/charinfo.css index 0fcb8ff..d1374af 100644 --- a/charinfo.css +++ b/charinfo.css @@ -108,20 +108,25 @@ header { margin-left: 40px; transition: .5s; } -.reviews-container{ +#reviews-container{ position: static; width: 25%; top:50px; - + padding-top: 10px; + padding-bottom: 10px; height: flex; text-align: center; font-family: 'Inter'; font-style: italic; font-weight: 170; - font-size: 12px; + font-size: 15px; line-height: 20px; text-transform: uppercase; color: black; + background: linear-gradient(180deg, #D9D9D9 0%, rgba(217, 217, 217, 0.51) 0%); +} +button{ + padding:5px 5px 5px 5px; } .content { @@ -152,7 +157,6 @@ header { font-weight: 170; font-size: 20px; line-height: 30px; - text-transform: uppercase; color: black; diff --git a/charinfo.js b/charinfo.js index b5f51dc..ca1c559 100644 --- a/charinfo.js +++ b/charinfo.js @@ -26,7 +26,7 @@ function getReviews() { xhr1.send(); } -// 2 PUT, update 리뷰 수정 함수 +// 2 PUT, update 리뷰 수정 함수 > 미루기 function updateReview(reviewId) { var modifiedReviewContent = prompt("수정된 리뷰 내용을 입력하세요:"); if (modifiedReviewContent !== null) { @@ -71,7 +71,6 @@ function updateReview(reviewId) { } //3 delete, REview - var deleteButtons = document.querySelectorAll(".deleteButton"); deleteButtons.forEach(function (deleteButton) { deleteButton.addEventListener("click", function () {