Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

design: 스켈레톤 디자인 속성 수정 #691

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions frontend/src/pages/RestaurantDetailPage/Skeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ const StyledHeader = styled.div`
flex-direction: column;
gap: 0.8rem 0;

width: calc(100vw - 2.4rem);

padding: 1.2rem 0 2.4rem;

& > div:first-child {
Expand All @@ -85,7 +83,6 @@ const StyledHeader = styled.div`

const StyledImageViewer = styled.div`
${paintSkeleton}
width: calc(100vw - 2.4rem);
height: calc((100vw - 2.4rem) * 0.9);

padding: 2.4rem 0;
Expand All @@ -98,8 +95,6 @@ const StyledDetailInformation = styled.div`
flex-direction: column;
gap: 2.4rem;

width: calc(100vw - 2.4rem);

padding: 4.8rem 0;

& > div {
Expand All @@ -114,15 +109,13 @@ const StyledDetailInformation = styled.div`

& > div > div:first-child {
${paintSkeleton}
width: calc((100vw - 2.4rem) * 0.7);
height: 24px;

border-radius: ${BORDER_RADIUS.xs};
}

& > div > div:last-child {
${paintSkeleton}
width: calc((100vw - 2.4rem) * 0.5);
height: 20px;

border-radius: ${BORDER_RADIUS.xs};
Expand All @@ -135,16 +128,13 @@ const StyledLine = styled.div`
flex-direction: column;
gap: 1.2rem;

width: calc(100vw - 2.4rem);

padding: 4.8rem 0;

border-top: 1px solid var(--gray-2);
border-bottom: 1px solid var(--gray-2);

& > div {
${paintSkeleton}
width: calc((100vw - 2.4rem) * 0.6);
height: 24px;

border-radius: ${BORDER_RADIUS.xs};
Expand All @@ -153,7 +143,6 @@ const StyledLine = styled.div`

const StyledBox = styled.div`
${paintSkeleton}
width: calc(100vw - 2.4rem);
height: 120px;

border-radius: ${BORDER_RADIUS.md};
Expand Down
Loading