行情区:现价标签固定于价格轴,K线右侧保留10根留白

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-02 12:22:54 +08:00
parent 3dcf91c573
commit e40975d563
3 changed files with 8 additions and 55 deletions
+3 -2
View File
@@ -2062,16 +2062,17 @@ body.login-page {
.market-price-tag {
position: absolute;
right: 0;
z-index: 5;
pointer-events: none;
padding: 4px 8px;
border-radius: 4px;
border-radius: 4px 0 0 4px;
font-family: var(--font);
font-size: 0.72rem;
font-weight: 600;
line-height: 1.25;
text-align: center;
transform: translate(-50%, -50%);
transform: translateY(-50%);
min-width: 72px;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}