Skip to content

Commit

Permalink
Merge pull request #216 from oreumi-dreamer/jihun
Browse files Browse the repository at this point in the history
WriteModal 버그 수정 외 2건
  • Loading branch information
jihun-io authored Dec 19, 2024
2 parents 5067004 + b789cc8 commit 2156d7a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/components/Controls.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@

label.checkbox {
width: fit-content;
}

label.checkbox > span {
font-size: var(--body-font-size);
font-weight: 400;
}
Expand All @@ -222,8 +225,10 @@ label.checkbox a {
content: "";
width: 2rem;
height: 2rem;
aspect-ratio: 1/1;
background-image: url("/images/checkbox.svg");
background-size: contain;
background-size: cover;
background-repeat: no-repeat;
margin-right: 0.8rem;
cursor: pointer;
}
Expand Down
10 changes: 6 additions & 4 deletions src/components/header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,12 @@ export default function Header() {
handleWriteBtnClick={handleWriteBtnClick}
handleToggleBtn={handleToggleBtn}
/>
<WritePost
isWriteModalOpen={isWriteModalOpen}
closeWriteModal={closeWriteModal}
/>
{isWriteModalOpen && (
<WritePost
isWriteModalOpen={isWriteModalOpen}
closeWriteModal={closeWriteModal}
/>
)}
</>
)}
</>
Expand Down

0 comments on commit 2156d7a

Please sign in to comment.