-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FIX] 스크롤 시 서랍장 헤더 잘림 이슈 #199
Comments
뭐야 이거 |
@2wndrhs 담당 하시는 거죵? |
오잉 제 환경에서는 버그 재현이 안되네요🤔 버그가 일어나는 화면 크기를 알려주실 수 있을까요 |
감사합니다 말씀하신 대로 가로 스크롤이 생기는 지점부터 문제가 발생하네요! 디버깅을 해보았는데 화면의 크기가 카드 3개를 표시할만큼 충분하지 않을 때
export const StyledCardContainer = styled.section`
grid-template-columns: repeat(3, 25.5rem); // width를 408px로 고정시킴(원인 1)
...
`;
export const StyledContainer = styled.div<StyledContainerProps>`
width: ${(props) => `${props.$width}rem`}; // width를 408px로 고정시킴(원인 2)
...
`;
export const StyledThumbnail = styled.img<StyledThumbnailProps>`
width: ${(props) => `${props.$width}rem`}; // width를 408px로 고정시킴(원인 3)
...
`; ![]() be2013e 커밋처럼 코드를 수정하여 문제를 해결할 수 있지만 배포가 얼마 안남은 상황에서 짧은 시간내에 해결하기는 어려울 것 같아 배포 이후에 해결하는 것이 어떨까 싶습니다🥲 추후 리팩토링 과정에서 |
ISSUE ✅ : BUG
📖 Summary
화면이 작아질 경우 헤더 잘림
2024-05-27.9.06.16.2.mov
Photo
ETC
cc. @2wndrhs
The text was updated successfully, but these errors were encountered: