From b2fd2646909a714b2e52b461b76ffdbbf42cd955 Mon Sep 17 00:00:00 2001 From: hyowons Date: Mon, 8 Jun 2026 16:05:36 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B3=B4=EC=9C=A0=ED=96=89=20=EB=AF=B8?= =?UTF-8?q?=EB=A6=AC=EB=B3=B4=EA=B8=B0=20'=EB=B9=84=EC=A4=91=20xx.xx%'=20?= =?UTF-8?q?=EC=A4=84=EB=B0=94=EB=80=9C=20=EB=B0=A9=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit line2 flex 자식인 비중 칩 텍스트가 좁은 폭(삼성전자 등 보유수량 자릿수 큰 경우)에서 내부 줄바꿈됨. .wt-chip{white-space:nowrap}으로 한 덩어리 유지. Co-Authored-By: Claude Opus 4.8 --- agents/stock/workspace/scripts/behive_web.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agents/stock/workspace/scripts/behive_web.py b/agents/stock/workspace/scripts/behive_web.py index c642b1d..4a7ee59 100644 --- a/agents/stock/workspace/scripts/behive_web.py +++ b/agents/stock/workspace/scripts/behive_web.py @@ -2668,7 +2668,7 @@ def _render_holding_row(r: dict, total_value: int, show_day_change: bool = False
{_buy_rank_badge(buy_amount)}{stock}{tag_chip}{star}{accounts}
-
보유 {qty:,}주{_pending_badges_html(r)}비중 {weight:.2f}%
+
보유 {qty:,}주{_pending_badges_html(r)}비중 {weight:.2f}%
{summary_journal_html}
@@ -4034,6 +4034,7 @@ details.row + .section-label { margin-top: 14px; padding-top: 24px; border-top-c .code { font-size: 11px; color: #5a5f6c; font-weight: 400; flex: none; } .line2 { display: flex; align-items: center; gap: 8px; font-size: 12px; min-width: 0; } +.wt-chip { white-space: nowrap; } /* '비중 xx.xx%' 가 좁은 폭에서 내부 줄바뀜 되는 것 방지 (삼성전자 등 보유수량 자릿수 큰 경우) */ .price { font-size: 18px; font-weight: 600; color: #f0f0f0; letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; } .right .ref { font-size: 12px; color: #8b8f9a; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1.2; }