fix: 긴 상품명일 때 영수증 공유 이미지가 작게 캡처되는 문제 수정 - #569
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedNext included review available in 11 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 내용
긴 상품명일 때 영수증 공유 이미지가 작게 캡처되고 아래 여백이 남던 문제를 수정했습니다.
원인 —
zoom을 낮추면 폭 보정 때문에 레이아웃 폭이 넓어지고, 긴 상품명의 줄바꿈이 달라져 높이가 다시 변합니다. 배율을 한 번만 계산하니 이 되먹임을 반영하지 못했습니다. 짧은 상품명은 줄바꿈이 변하지 않아 문제가 드러나지 않았습니다.absolute라 레이아웃에 안 잡히는 점 보정)상품명 길이·개수와 무관하게 종이 폭 740(1080 기준)이 유지됩니다.
스크린샷
연관 이슈
closes #568