diff --git a/src/Detail/components/LecueNoteListContainer/LecueNoteListContainer.style.ts b/src/Detail/components/LecueNoteListContainer/LecueNoteListContainer.style.ts index 24c569ab..1ece03d5 100644 --- a/src/Detail/components/LecueNoteListContainer/LecueNoteListContainer.style.ts +++ b/src/Detail/components/LecueNoteListContainer/LecueNoteListContainer.style.ts @@ -2,8 +2,11 @@ import styled from '@emotion/styled'; export const LecueNoteListContainerWrapper = styled.div<{ backgroundColor: number; + isEditable: boolean; }>` - padding: 0 1.65rem; + width: 100vw; + padding: 0 1.6rem; + padding-bottom: ${({ isEditable }) => isEditable && '12rem'}; background-color: ${({ theme, backgroundColor }) => { switch (backgroundColor) { diff --git a/src/Detail/components/LecueNoteListContainer/index.tsx b/src/Detail/components/LecueNoteListContainer/index.tsx index 5ad8f9c1..ce4efa3c 100644 --- a/src/Detail/components/LecueNoteListContainer/index.tsx +++ b/src/Detail/components/LecueNoteListContainer/index.tsx @@ -94,7 +94,10 @@ function LecueNoteListContainer({ }; return ( - + ))} - {isEditable ? ( + + {postedStickerList.map((data) => ( + false} + > + + + ))} + + {isEditable && ( - ) : ( - - {postedStickerList.map((data) => ( - false} - > - - - ))} - )} );