[Style] 글자 정렬 깨짐 문제 해결#121
Open
yeonjin719 wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
이벤트 상세 카드(EventDetailCard) 내부 텍스트가 의도와 다르게 정렬되던 문제를 TextWrapper의 flex 정렬 속성 보정으로 해결하는 PR입니다(캘린더 feature 영역의 UI 정렬 수정).
Changes:
TextWrapper에align-items: flex-start;추가로 텍스트 영역을 좌측 기준으로 정렬
한 줄 요약
TextWrapper의 교차축 정렬을flex-start로 고정해 텍스트가 중앙/기본 정렬 영향 없이 좌측 정렬되도록 개선했습니다.
발견된 위반 항목
- 없음 (파일 위치/feature 경계/명명/의존성 방향 측면에서 변경 사항이 프로젝트 규칙과 충돌하지 않음)
추천 구조
- 현 구조 유지가 적절합니다.
src/features/Calendar/components/EventDetailCard/EventDetailCard.tsxEventDetailCard.style.ts
최소 리팩토링 단계
- 실제 화면에서 제목/본문이 좌측 정렬로 보이고 줄바꿈/폭 동작이 기존 대비 문제 없는지 확인
- (선택) 제목까지 좌측 정렬이 요구사항이라면
Title의text-align: center;정책을 별도 이슈로 재검토
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.
🔗 관련 이슈
🧩 작업 요약 (TL;DR)
🔄 변경 유형
해당되는 항목에 체크해주세요.
📌 주요 변경 사항
EventDetailCard의 텍스트 래퍼에align-items: flex-start를 추가했습니다.🖼️ 스크린샷 / 영상 (선택)
🧠 리뷰 요청 포인트
🚧 미완 / 후속 작업
💬 기타 참고 사항
스타일 속성 1줄 추가만 포함된 UI 정렬 수정 PR입니다. 기능 로직, 상태 관리, API 연동 변경은 없습니다.
@copilot 이 PR을 아래 기준으로 검토해주세요:
.github/instructions/capstone.instructions.md 파일을 지침으로 삼으세요.
폴더/파일 위치가 프로젝트 구조 규칙과 일치하는지
컴포넌트가 단일 책임 원칙(SRP)을 지키는지
import 방향이 올바른지 (shared → features 역방향 없음)
명명/케이스가 일관적인지 (PascalCase vs camelCase)
배럴(index.ts) 사용이 현 패턴을 따르는지
응답은 한국어로, 발견된 위반 항목과 추천 구조를 포함해주세요.
리뷰를 달아주세요