Skip to content

[fix] 다이나믹 폰트 적용 후 Subheader 컨텐츠가 잘리는 이슈 개선#658

Merged
kitcat-s merged 3 commits intodevfrom
design/dynamic-subheader-height
Oct 29, 2025
Merged

[fix] 다이나믹 폰트 적용 후 Subheader 컨텐츠가 잘리는 이슈 개선#658
kitcat-s merged 3 commits intodevfrom
design/dynamic-subheader-height

Conversation

@kitcat-s
Copy link
Collaborator

@kitcat-s kitcat-s commented Oct 28, 2025

#️⃣ 연관된 이슈

ex) <#1377914257735421952>, <#1377914203255607316>

📝 작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)

  • 자잘한 리팩토링
  • Subheader 컨텐츠에 fixedSize 설정
  • typeSize에 따라 Dashboard 헤더 높이 보정

스크린샷 (선택)

좌 before, 우 after

Simulator Screenshot - iPhone 17 Pro - 2025-10-28 at 11 33 24 Simulator Screenshot - iPhone 17 Pro - 2025-10-28 at 11 33 56

💬 리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

글이 말줄임표되는 이슈는 fixedSize로 없애고,
헤더와 카드 간의 간격이 좁아지는 이슈는 typeSize를 이용해 헤더 높이를 변경하는 방식으로 해결했는데
다른 해결 방법이 없는지 확신이 안서네요 ㅎㅎ

그라디언트 배경을 카드 크기의 반만 채워지게 디자인한 부분부터가 문제의 시작이었던 것 같으나
디자인적으로 다른 수를 찾을 수 없었다는 변명을 한 번 해봅니다 허허..

@kitcat-s kitcat-s requested review from jihyeonjjang, kanghun1121 and leekangho0 and removed request for kanghun1121 October 28, 2025 02:32
@kitcat-s kitcat-s self-assigned this Oct 28, 2025
@kitcat-s kitcat-s added Design 에셋, 컴포넌트 작업 Fix 오류 버그 수정 labels Oct 28, 2025
Copy link
Collaborator

@leekangho0 leekangho0 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다

/// 헤더뷰와 배경 그래디언트 크기에도 영향을 주기 때문에
/// 여기에서 계산 후 헤더뷰에게 전파
var dynamicHeaderHeight: CGFloat {
switch typeSize {
Copy link
Collaborator

Choose a reason for hiding this comment

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

typeSize라는게 있는 걸 처음봤네요
더 reponsive한 앱 같네요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

소중한 리뷰 감사합니다~ :)

@kitcat-s kitcat-s merged commit cf84f3f into dev Oct 29, 2025
1 check passed
@kitcat-s kitcat-s deleted the design/dynamic-subheader-height branch October 29, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Design 에셋, 컴포넌트 작업 Fix 오류 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants