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

[SP2] 프로젝트 탭 캐러셀 블러 스타일 수정 #266

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

solar3070
Copy link
Member

@solar3070 solar3070 commented Nov 6, 2023

Summary

Screenshot

[ 디자인 QA ]

image

피그마를 확인했을 때 캐러셀 옆이 블러 처리가 될 때슬라이드 아이템이 잘려서 보이는 경우슬라이드를 넘길 때 라고 생각됩니다.

슬라이드 아이템이 잘려서 보이는 경우 슬라이드를 넘길 때
image image

[ 기존 ]

2023-11-07.4.07.45.mov

[ 수정 후 ]

2023-11-07.4.12.21.mov

Comment

  • 아래 QA의 경우에는 제 컴퓨터에서는 나타나지 않던 현상이어서 확인이 어렵습니다.. dev 페이지 배포 후 확인을 부탁드려야 할 것 같습니다.

image

@solar3070 solar3070 self-assigned this Nov 6, 2023
Comment on lines +32 to +33
::after {
right: -1px;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right를 -1px로 준 이유는 0으로 주면 크롬 개발자 도구 반응형으로 봤을 때 끝 부분까지 덮이지 않는 것처럼 보이기 때문입니다.

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오호... 왜 안덮히는 걸까요...? 신기하네요..!

Copy link
Contributor

@f0rever0 f0rever0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

세심한 css 수정작업 최고입니다 !!

Comment on lines 86 to 89
gap: 24px;

@media (max-width: 899px) {
gap: 14px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gap 숫자를 gapWidth를 props 로 받아서 넣어도 될 것 같아요!
gapWidth={isMobileSize ? 14 : 24}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

음 미디어쿼리로 할 수 있는데 프롭으로 넘겨야 하는 이유가 무엇인가요?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gapWidth라는 값을 컴포넌트가 갖고 있어서 그렇군요 ..
그럼 확장성 생각했을 때에 gapWidth를 받아와도 좋을 것 같습니다!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

itemWidth 같은 것들도 props로 넘겨주고 있길래 통일성까지 고려해서 적용하였습니다!

isSliding &&
css`
opacity: 1;
transition: opacity 0.3s ease-out;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

transition 속성은 조건문을 걸지 않아도 괜찮지 않나요 ..?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

화면 사이즈가 변동 되었을 때는 transition이 없었으면 해서 슬라이드 넘길 때만 적용했습니다!

@solar3070 solar3070 merged commit 21cab57 into develop Nov 9, 2023
1 check passed
@solar3070 solar3070 deleted the feat/#265-carousel-blur-style branch November 9, 2023 08:16
@solar3070 solar3070 restored the feat/#265-carousel-blur-style branch November 12, 2023 15:37
@solar3070 solar3070 deleted the feat/#265-carousel-blur-style branch December 23, 2023 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

프로젝트 탭 캐러셀 블러 스타일 수정
3 participants