mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
fix run id text overflow issue
This commit is contained in:
parent
bff06e81f6
commit
2bc78b1481
|
@ -38,14 +38,13 @@ const ReportDetails = (props: ReportDetailsProps) => {
|
|||
}
|
||||
|
||||
return <div>
|
||||
<Title order={2}>Back-test Run {props.runID}</Title>
|
||||
<Title order={2}>RUN {props.runID}</Title>
|
||||
<div>
|
||||
{
|
||||
reportSummary.symbols.map((symbol: string, i : number) => {
|
||||
return <TradingViewChart key={i} basePath={props.basePath} runID={props.runID} reportSummary={reportSummary} symbol={symbol} intervals={["1m", "5m", "1h"]}/>
|
||||
})
|
||||
}
|
||||
|
||||
</div>
|
||||
</div>;
|
||||
};
|
||||
|
|
|
@ -59,7 +59,13 @@ const ReportNavigator = (props: ReportNavigatorProps) => {
|
|||
props.onSelect(entry);
|
||||
}
|
||||
}}>
|
||||
<div style={{
|
||||
"textOverflow": "ellipsis",
|
||||
"overflow": "hidden",
|
||||
"inlineSize": "190px",
|
||||
}}>
|
||||
{entry.id}
|
||||
</div>
|
||||
</List.Item>
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user