Conversation
[FEAT/#301] 크롤링된 게시물의 링크 css 수정
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Code Review
이번 풀리퀘스트는 PostBody 컴포넌트 내 링크(a 태그)에 파란색 글씨와 밑줄 스타일을 추가하는 변경사항을 포함하고 있습니다. 리뷰를 통해 부모 요소의 break-all 클래스가 자식 요소로 상속되므로, 자식 a 태그에 중복으로 적용된 [&_a]:break-all 클래스를 제거하여 코드를 간결하게 정리하라는 피드백이 제시되었습니다.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| suppressHydrationWarning | ||
| style={collapseStyles} | ||
| className="break-all [&_a]:break-all [&_img]:h-auto [&_img]:max-w-full" | ||
| className="break-all [&_a]:break-all [&_a]:text-blue-600 [&_a]:underline [&_img]:h-auto [&_img]:max-w-full" |
There was a problem hiding this comment.
부모 Text 컴포넌트에 이미 break-all 클래스가 적용되어 있습니다. CSS의 word-break 속성은 자식 요소로 상속(inherit)되므로, 자식 a 태그에 개별적으로 [&_a]:break-all을 적용하는 것은 중복입니다. 이를 제거하여 코드를 더 간결하게 정리할 수 있습니다.
| className="break-all [&_a]:break-all [&_a]:text-blue-600 [&_a]:underline [&_img]:h-auto [&_img]:max-w-full" | |
| className="break-all [&_a]:text-blue-600 [&_a]:underline [&_img]:h-auto [&_img]:max-w-full" |
🚀 Pull Request
✨ Summary