Skip to content

Commit

Permalink
[#123] bugfix: darkmode diary
Browse files Browse the repository at this point in the history
  • Loading branch information
rosieyeon committed Feb 18, 2022
1 parent 35b274c commit d640e19
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
8 changes: 5 additions & 3 deletions src/components/Schedule/diaryImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ function DiaryImage({ wantEdit, imgURL, setImgFile, preview, setPreview }) {
{!preview && !imgURL ? (
<div>
<img src={"images/photoCat.png"} alt="defaultImg" />
<div className="diary-image__text">
오늘 하루를 기록할 수 있는 사진을 남겨주세요
</div>
{!wantEdit && (
<div className="diary-image__text">
오늘 하루를 기록할 사진을 남겨주세요
</div>
)}
</div>
) : null}
{!preview && imgURL ? (
Expand Down
5 changes: 3 additions & 2 deletions src/statics/css/diary.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/diary.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/statics/scss/diary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
.diary-box__contents-text {
display: flex;
flex-direction: column;
align-items: flex-end;
// align-items: flex-end;
height: 100%;
color: var(--textColor);
& textarea {
width: 100%;
height: 100%;
Expand Down Expand Up @@ -100,7 +102,7 @@
}
.diary-image {
color: var(--textColor-todo);
font-size: 14px;
font-size: 12px;
// padding-top: 8px;
}
.diary-image__text {
Expand Down

0 comments on commit d640e19

Please sign in to comment.