fix(todo): keep deadline beside long titles - #85
Merged
Conversation
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.
변경 사항
min-w-0과flex-1을 적용했습니다.line-clamp-2로 최대 두 줄까지만 표시하고, 긴 단어도 카드 폭 안에서 줄바꿈합니다.shrink-0으로 유지하고 두 줄 제목의 상단에 정렬해 아래로 밀리지 않게 했습니다.검증
pnpm run build:localpnpm run lintpnpm run test:todo— 4 passedline-clamp-2,min-w-0,shrink-0규칙 생성 확인localhost UI 검증
Todo List → Add Todo → 긴 개인 Todo 저장흐름을 실행했습니다.chrome.storage가 없어 저장 API만 테스트용 mock으로 제공하고, 실제 폼 제출·저장 함수·React 목록 갱신 경로를 검증했습니다.scrollHeight 80px,clientHeight 40px,-webkit-line-clamp: 2.D-140배지의 상단 좌표가 모두y=182px, 가로 간격은8px, 겹침은 없었습니다.실제 extension의
chrome.storage.local통합은build:local산출물을 unpacked extension으로 로드하는 별도 런타임 검증 범위입니다.Closes #68