💄 [Design] 대시보드 카드 description 정렬 등 #215
Merged
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.
Summary
Describe your changes
dataLabel xoffset을 줄이는 방식으로 해결
DashboardContent에서 title은 있으나 description이 없는 경우에는 공백( )를 추가하여 정렬을 맞춤.
(selection 하면 공백이 드래그되는게 조금 불편하긴 한데, 1.8rem보다 직관적인 것 같아 그렇게 작성하였습니다.)
해결 방법은 못 찾았지만, #206을 해결하면서 DashboardContent 높이가 낮아지면서 문제가 어느정도 나아졌습니다.
DashboardContent에 type으로 'Default' | 'ApexCharts' | 'Scrollable'을 받게 하여 title, description 정보의 원천을 하나로 통일했습니다.
Issue number and link