@@ -175,7 +175,8 @@ button { font-family: inherit; cursor: pointer; }
175175}
176176.st-meta { font-size : 11.5px ; color : var (--text-tertiary ); margin-top : 2px ; white-space : nowrap; overflow : hidden; text-overflow : ellipsis; }
177177.st-bar { display : flex; align-items : center; gap : 10px ; margin-top : 7px ; }
178- .spark { width : 170px ; height : 30px ; flex-shrink : 0 ; }
178+ /* 宽度自适应(移动端收窄),viewBox 等比缩放 */
179+ .spark { width : 100% ; max-width : 170px ; height : auto; flex-shrink : 1 ; }
179180.spark-line { fill : none; stroke : var (--primary ); stroke-width : 1.5 ; stroke-linejoin : round; stroke-linecap : round; }
180181.spark-area { fill : var (--primary ); opacity : .08 ; }
181182.spark-dot { fill : var (--primary ); stroke : var (--bg-surface ); stroke-width : 1.5 ; }
@@ -291,11 +292,15 @@ button { font-family: inherit; cursor: pointer; }
291292 .stat-card { padding : 10px 12px ; }
292293 .stat-card .value { font-size : 18px ; }
293294
294- . st-bar { display : none; }
295- .st-row { gap : 10px ; padding : 11px 12px ; }
295+ /* 站点卡片两行布局:首行 图标+信息(走势图有完整宽度),次行 余额+操作 */
296+ .st-row { gap : 10px ; row-gap : 8 px ; padding : 11px 12px ; flex-wrap : wrap ; }
296297 .st-plate { width : 32px ; height : 32px ; }
297- .st-balance { min-width : 84px ; }
298- .st-balance .amt { font-size : 15px ; }
298+ .st-main { flex : 1 1 calc (100% - 42px ); }
299+ .st-balance { order : 3 ; text-align : left; min-width : 0 ; flex : 1 ; margin-left : 42px ; }
300+ .st-balance .amt { font-size : 16px ; }
301+ .st-actions { order : 4 ; margin-left : auto; align-self : center; }
302+ .st-usage { display : none; } /* 走势图的文字说明收起,图保留 */
303+ .st-predict { flex-wrap : wrap; }
299304
300305 .usage-filters { flex-wrap : wrap; }
301306 .dr-channels { max-width : 100% ; justify-content : flex-start; }
0 commit comments