Skip to content

Commit

Permalink
fix: vh -> dvh로 높이 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
jungwoo3490 committed Jan 19, 2024
1 parent f579138 commit c7cd917
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/Detail/components/EmptyView/EmptyView.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ export const EmptyViewWrapper = styled.div`
flex-direction: column;
width: 100%;
height: calc(100vh - 39rem);
height: calc(100dvh - 39rem);
`;

export const EmptyViewTextWrapper = styled.div`
text-align: center;
margin-top: 2.1rem;
text-align: center;
`;

export const EmptyViewText = styled.p`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const LecueNoteListContainerWrapper = styled.div<{
isEditable: boolean;
}>`
width: 100vw;
min-height: calc(100vh - 28.1rem);
min-height: calc(100dvh - 28.1rem);
padding: 0 1.6rem;
padding-bottom: ${({ isEditable }) => isEditable && '12rem'};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const BlurryContainer = styled.div`
z-index: 10;
width: 100vw;
height: 100vh;
height: 100dvh;
background-color: ${({ theme }) => theme.colors.Modal};
`;
Expand Down

0 comments on commit c7cd917

Please sign in to comment.