fix: 데일리 카드 체크리스트 날짜 배치 - #285
Open
yuyeon48 wants to merge 1 commit into
Open
Conversation
데일리 카드에서 항목 날짜("8월 1일")가 카드 오른쪽 끝이 아니라 중간에 떠 보였습니다.
위쪽 일정 시간(17:00)과 오른쪽 끝이 맞지 않았습니다.
daily 레이아웃 두 곳에 폭이 299px로 고정돼 있었습니다.
- Checklist의 바깥 컨테이너 (getVariantChecklistLayout)
- ChecklistItem의 행 (VARIANT_ITEM_LAYOUT)
날짜는 ml-auto로 오른쪽에 붙는데, 기준이 되는 상자가 카드보다 좁다 보니 카드 오른쪽
끝에 못 미치는 자리에서 멈췄습니다. 둘 다 w-full로 바꿔 카드 폭을 그대로 쓰게 했습니다.
카드 쪽 CSS(.schedule-card-checklist-wrap)가 왼쪽으로 4.5px 당기면서 너비를 같은 값만큼
늘려 오른쪽 끝을 카드 여백선에 맞춰두고 있어서, 이제 날짜 오른쪽 끝이 일정 시간과 같은
선에 놓입니다.
daily variant는 ScheduleCard 한 곳에서만 쓰므로 영향 범위는 데일리 카드로 한정됩니다.
create/event의 고정폭은 건드리지 않았습니다.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 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 |
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.
피드백 들어오면 다시 수정 예정
📂 관련 이슈
🛠️ 작업 사항
📸 관련 이미지 (스크린샷 또는 동영상)
💬 기타 설명