Skip to content

Commit

Permalink
style: 버튼 부분 패딩 값 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
eunbeann committed Jan 14, 2024
1 parent 3e6a74a commit 83cc6d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from '@emotion/styled';
export const LecueNoteListContainerWrapper = styled.div<{
backgroundColor: number;
}>`
padding: 0 1.65rem;
padding-bottom: ${({ isEditable }) => isEditable && '12rem'};
background-color: ${({ theme, backgroundColor }) => {
switch (backgroundColor) {
Expand Down
5 changes: 4 additions & 1 deletion src/Detail/components/LecueNoteListContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ function LecueNoteListContainer({
};

return (
<S.LecueNoteListContainerWrapper backgroundColor={backgroundColor}>
<S.LecueNoteListContainerWrapper
isEditable={isEditable}
backgroundColor={backgroundColor}
>
<LecueNoteListHeader
noteNum={noteNum}
backgroundColor={backgroundColor}
Expand Down

0 comments on commit 83cc6d7

Please sign in to comment.