From c4264a379e8a33b19254819367f4a2cd26ca093f Mon Sep 17 00:00:00 2001 From: hyowons Date: Mon, 8 Jun 2026 16:25:07 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=B3=B4=EC=9C=A0=ED=96=89=203?= =?UTF-8?q?=EC=A4=84=20=EC=9E=AC=EA=B5=AC=EC=84=B1=20(=EB=B1=83=EC=A7=80?= =?UTF-8?q?=C2=B7=EB=8B=B9=EC=9D=BC=EB=A7=88=ED=81=AC=C2=B7=EC=9D=B4?= =?UTF-8?q?=EB=A6=84=C2=B7=EA=B3=84=EC=A2=8C=20/=20=EB=B3=B4=EC=9C=A0?= =?UTF-8?q?=C2=B7=EB=B9=84=EC=A4=91=20/=20=ED=83=9C=EA=B7=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit line1=뱃지+당일거래마크(★)+종목명+계좌종류(nowrap, 이름 ellipsis), line2=보유+비중, line3=태그. 미사용 .name-head 제거, .line1-held{flex-wrap:nowrap}로 긴 이름도 1줄 유지. Co-Authored-By: Claude Opus 4.8 --- agents/stock/workspace/scripts/behive_web.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/agents/stock/workspace/scripts/behive_web.py b/agents/stock/workspace/scripts/behive_web.py index 182f68d..d03934f 100644 --- a/agents/stock/workspace/scripts/behive_web.py +++ b/agents/stock/workspace/scripts/behive_web.py @@ -2667,9 +2667,9 @@ def _render_holding_row(r: dict, total_value: int, show_day_change: bool = False return f'''
-
{_buy_rank_badge(buy_amount)}{stock}
+
{_buy_rank_badge(buy_amount)}{star}{stock}{accounts}
보유 {qty:,}주{_pending_badges_html(r)}비중 {weight:.2f}%
-
{tag_chip}{star}{accounts}
+
{tag_chip}
{summary_journal_html}
@@ -4031,8 +4031,8 @@ details.row + .section-label { margin-top: 14px; padding-top: 24px; border-top-c .right { text-align: right; display: flex; flex-direction: column; gap: 2px; align-items: flex-end; justify-content: center; } .line1 { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; row-gap: 4px; } -/* 매수등급 배지 + 종목명을 한 묶음으로 — 이름 길어도 배지와 분리돼 줄바뀜되지 않게(이름은 ellipsis). */ -.name-head { display: flex; align-items: center; gap: 6px; min-width: 0; } +/* 보유행 1줄: 뱃지+당일마크+종목명+계좌 한 줄 고정(nowrap). 이름 길면 .stock 이 ellipsis 로 줄어듦. */ +.line1-held { flex-wrap: nowrap; } .stock { font-size: 14px; font-weight: 600; color: #f0f0f0; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .code { font-size: 11px; color: #5a5f6c; font-weight: 400; flex: none; }