From af235dca1f1b90c920168aa6f2b10c3ecab58bb4 Mon Sep 17 00:00:00 2001 From: hyowons Date: Mon, 8 Jun 2026 16:20:08 +0900 Subject: [PATCH] =?UTF-8?q?feat:=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=203=EC=A4=84=20=EA=B3=A0=EC=A0=95?= =?UTF-8?q?=20(=EB=B1=83=EC=A7=80=C2=B7=EC=9D=B4=EB=A6=84=20/=20=EB=B3=B4?= =?UTF-8?q?=EC=9C=A0=C2=B7=EB=B9=84=EC=A4=91=20/=20=ED=83=9C=EA=B7=B8?= =?UTF-8?q?=C2=B7=EA=B3=84=EC=A2=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit line1=뱃지+종목명, line2=보유+비중, line3=태그+계좌종류(작게)로 재배치. 기존 line1에 섞여있던 태그·계좌(·star)를 line3로 분리. 각 줄 flex 단일행이라 3줄 고정. Co-Authored-By: Claude Opus 4.8 --- agents/stock/workspace/scripts/behive_web.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/agents/stock/workspace/scripts/behive_web.py b/agents/stock/workspace/scripts/behive_web.py index 96f3990..182f68d 100644 --- a/agents/stock/workspace/scripts/behive_web.py +++ b/agents/stock/workspace/scripts/behive_web.py @@ -2667,8 +2667,9 @@ def _render_holding_row(r: dict, total_value: int, show_day_change: bool = False return f'''
-
{_buy_rank_badge(buy_amount)}{stock}{tag_chip}{star}{accounts}
+
{_buy_rank_badge(buy_amount)}{stock}
보유 {qty:,}주{_pending_badges_html(r)}비중 {weight:.2f}%
+
{tag_chip}{star}{accounts}
{summary_journal_html}
@@ -4036,6 +4037,8 @@ 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; } +/* 3줄 고정: 1줄=뱃지+종목명(line1), 2줄=보유+비중(line2), 3줄=태그+계좌종류(line3). 각 줄 flex 단일행(미래 wrap 안 함). */ +.line3 { display: flex; align-items: center; gap: 6px; font-size: 11px; 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; }