Skip to content

[FIX] 공지사항 리스트 호버 시 날짜 영역 레이아웃 깨짐 수정(#414)#415

Merged
ganimjeong merged 1 commit intodevelopfrom
fix/notice-date-hover-layout#414
Feb 5, 2026
Merged

[FIX] 공지사항 리스트 호버 시 날짜 영역 레이아웃 깨짐 수정(#414)#415
ganimjeong merged 1 commit intodevelopfrom
fix/notice-date-hover-layout#414

Conversation

@ganimjeong
Copy link
Contributor

#️⃣연관된 이슈

close #414

📝작업 내용

🐛 Bug Fix: 공지사항 리스트 호버 UI 개선

  • 문제점
    공지사항 리스트에서 행 호버 시 fontWeight: bold가 적용되면서 날짜 영역이 두 줄로 줄바꿈되는 레이아웃 이슈

  • 변경 사항

    • NoticeDate, NoticeAuthor 컴포넌트에 white-space: nowrap 속성 추가
    • 고정된 너비 내에서 텍스트가 한 줄로 유지되도록 처리

스크린샷 (선택)

스크린샷 2026-02-05 오후 9 51 01

💬리뷰 요구사항(선택)

@ganimjeong ganimjeong self-assigned this Feb 5, 2026
@ganimjeong ganimjeong added the 🐛 bug 버그 이슈 label Feb 5, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @ganimjeong, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 공지사항 리스트에서 항목에 마우스를 올렸을 때 날짜와 작성자 정보가 fontWeight: bold 스타일 적용으로 인해 두 줄로 줄바꿈되는 UI 버그를 해결합니다. white-space: nowrap CSS 속성을 적용하여 해당 텍스트 요소들이 항상 한 줄로 표시되도록 함으로써, 사용자 경험과 시각적 일관성을 개선했습니다.

Highlights

  • 레이아웃 버그 수정: 공지사항 리스트에서 항목 호버 시 날짜 및 작성자 영역이 두 줄로 줄바꿈되는 레이아웃 깨짐 현상을 수정했습니다.
  • 텍스트 줄바꿈 방지: 날짜와 작성자 텍스트가 고정된 너비 내에서 항상 한 줄로 유지되도록 처리했습니다.
  • CSS 속성 추가: NoticeDateNoticeAuthor styled 컴포넌트에 white-space: nowrap 속성을 추가하여 문제를 해결했습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • src/pages/user/Notice/components/NoticeListCardSection/index.styled.ts
    • NoticeDate styled 컴포넌트에 white-space: nowrap 속성을 추가하여 날짜 텍스트가 줄바꿈되지 않도록 했습니다.
    • NoticeAuthor styled 컴포넌트에 white-space: nowrap 속성을 추가하여 작성자 텍스트가 줄바꿈되지 않도록 했습니다.
Activity
  • 아직 이 PR에 대한 사람의 활동(댓글, 리뷰 등)은 없습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

공지사항 목록에서 항목에 마우스를 올렸을 때 fontWeight가 변경되면서 발생하는 레이아웃 깨짐 문제를 해결하기 위해 white-space: nowrap 속성을 추가하신 것을 확인했습니다. 올바른 수정입니다. 추가적으로, 텍스트가 할당된 너비를 초과할 경우를 대비하여 overflow: hiddentext-overflow: ellipsis 속성을 추가하여 UI의 견고성을 높이는 것을 제안합니다. 이렇게 하면 긴 날짜나 작성자 이름이 표시될 때도 레이아웃이 깨지지 않고 깔끔하게 처리될 것입니다.

Comment on lines 74 to +75
textAlign: 'right',
whiteSpace: 'nowrap',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

white-space: nowrap을 추가하여 줄바꿈을 방지하는 것은 좋은 해결책입니다. 하지만, 텍스트가 할당된 너비(80px)를 초과할 경우 내용이 넘쳐 레이아웃이 깨질 수 있습니다. 이를 방지하기 위해 overflow: hiddentext-overflow: ellipsis를 함께 사용하여 텍스트가 길어질 경우 '...'으로 표시되도록 하는 것을 권장합니다. 이렇게 하면 UI가 더 안정적으로 유지됩니다.

  textAlign: 'right',
  whiteSpace: 'nowrap',
  overflow: 'hidden',
  textOverflow: 'ellipsis',

Comment on lines 87 to +88
textAlign: 'right',
whiteSpace: 'nowrap',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

NoticeDate와 마찬가지로, 작성자 이름이 할당된 너비(60px)를 초과할 경우를 대비하여 overflow: hiddentext-overflow: ellipsis 속성을 추가하는 것이 좋습니다. 작성자 이름은 길이가 다양할 수 있으므로 이 처리를 통해 예기치 않은 UI 깨짐을 방지할 수 있습니다.

  textAlign: 'right',
  whiteSpace: 'nowrap',
  overflow: 'hidden',
  textOverflow: 'ellipsis',

@ganimjeong ganimjeong merged commit 21603dd into develop Feb 5, 2026
5 checks passed
@ganimjeong ganimjeong deleted the fix/notice-date-hover-layout#414 branch February 5, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug 버그 이슈

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 공지사항 리스트 호버 시 날짜 영역 레이아웃 깨짐 현상

1 participant