fix(ui): 当前操作策略列去掉line-clamp-2截断,全文显示
This commit is contained in:
+1
-1
@@ -1580,7 +1580,7 @@ async function renderWatch() {
|
||||
'<td class="p-2 text-right font-mono text-slate-300">' + sltp + '</td>' +
|
||||
'<td class="p-2 text-right font-mono ' + (rr >= 1.5 ? 'text-green-400' : rr > 0 ? 'text-yellow-400' : 'text-slate-500') + '">' + (rr ? rr.toFixed(2) : '—') + ((s.rr_high>0)?'<br><span class="text-[10px] text-slate-500">'+(s.rr_low||0).toFixed(2)+'~'+s.rr_high.toFixed(2)+'</span>':'') + '</td>' +
|
||||
'<td class="p-2 text-right font-mono text-slate-300">' + posDisplay + '</td>' +
|
||||
'<td class="p-2 ' + stratCls + ' max-w-[200px] break-all line-clamp-2">' + strat + '</td>' +
|
||||
'<td class="p-2 ' + stratCls + ' max-w-[280px] break-all">' + strat + '</td>' +
|
||||
'<td class="p-2 text-center"><button class="text-xs px-2 py-1 rounded bg-blue-900/50 text-blue-400 hover:bg-blue-800/50 transition" onclick="event.stopPropagation();openStrategyHistory(\'' + s.code + '\')">📋 历史</button></td>' +
|
||||
'</tr>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user