This commit is contained in:
@@ -368,6 +368,8 @@ export function BacktestPage({
|
|||||||
render: (value, r) => (
|
render: (value, r) => (
|
||||||
<Button
|
<Button
|
||||||
theme="borderless"
|
theme="borderless"
|
||||||
|
className="backtest-name-button"
|
||||||
|
title={String(value)}
|
||||||
onClick={() => openRun(r!.backtest_run_id)}
|
onClick={() => openRun(r!.backtest_run_id)}
|
||||||
>
|
>
|
||||||
{String(value)}
|
{String(value)}
|
||||||
@@ -419,6 +421,8 @@ export function BacktestPage({
|
|||||||
render: (v, d) => (
|
render: (v, d) => (
|
||||||
<Button
|
<Button
|
||||||
theme="borderless"
|
theme="borderless"
|
||||||
|
className="backtest-name-button"
|
||||||
|
title={String(v)}
|
||||||
onClick={() => void perform(() => loadDraft(d!.id))}
|
onClick={() => void perform(() => loadDraft(d!.id))}
|
||||||
>
|
>
|
||||||
{String(v)}
|
{String(v)}
|
||||||
|
|||||||
@@ -86,3 +86,16 @@
|
|||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Bound the button and its flex content independently so long names stay in their column. */
|
||||||
|
.backtest-page .backtest-name-button {
|
||||||
|
max-width: 100%;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
.backtest-page .backtest-name-button .semi-button-content {
|
||||||
|
display: block;
|
||||||
|
min-width: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user