fix(dashboard): 카드끼리 꺾쇠가 위아래로 줄을 맞춘다 - #472
Merged
Merged
Conversation
칸 사이 칸의 폭이 `auto` 였다 — 꺾쇠(7px)·세로선(1px)·빈칸(0px)마다 폭이 달라, 카드마다 내용 칸이 조금씩 다른 넓이를 나눠 가졌다. 그래서 위아래 카드의 꺾쇠가 세로로 줄을 맞추지 못했다 (실측 3~5px — 「손익」 원가›수익 950px 과 「주문 진행 현황」 부가 작업›인도 완료 955px, 제보). · 칸 사이는 **무엇이 들어가든 같은 폭**(20px)으로 못 박는다 · 내용 칸은 `minmax(0, 1fr)` — 그냥 `1fr` 은 긴 금액이 칸을 넓혀 또 어긋난다 실측(1440px / 1024px) · 손익 꺾쇠 954 = 주문 진행 954 / 677 = 677 · 손익 세로선 252 = 주문 진행 첫 꺾쇠 252 / 183 = 183 · 영업 성과 가운데 꺾쇠 720 = 주문 진행 가운데 720 / 512 = 512 영업 성과는 칸이 넷이라 가운데 꺾쇠만 여섯 칸 카드와 겹칠 수 있다(수학적으로 그렇다). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Closes 471
원인
칸 사이 칸의 폭이
auto였다 — 꺾쇠(7px)·세로선(1px)·빈칸(0px)마다 폭이 달라,카드마다 내용 칸이 조금씩 다른 넓이를 나눠 가졌다. 그래서 위아래 카드의 꺾쇠가 세로로 어긋났다
(「손익」 원가›수익 950px / 「주문 진행 현황」 부가 작업›인도 완료 955px).
고친 것
minmax(0, 1fr)— 그냥1fr은 긴 금액이 칸을 넓혀 또 어긋난다실측
넘치는 칸 0건. 영업 성과는 칸이 넷이라 가운데 꺾쇠만 여섯 칸 카드와 겹칠 수 있다.
DB
변경 없음.
검증
백엔드 927개 통과 · 프론트 빌드·타입·영문화·접근성·UI 규칙 통과
🤖 Generated with Claude Code