Skip to content

Commit

Permalink
Merge pull request #456 from hrntsm/main
Browse files Browse the repository at this point in the history
Update Box in TrialListDetail scrollable
  • Loading branch information
c-bata authored May 17, 2023
2 parents 7a18a54 + 3b14ebd commit dc4a11c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions optuna_dashboard/ts/components/TrialFormWidgets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ const UpdatableFormWidgets: FC<{
marginBottom: theme.spacing(2),
margin: theme.spacing(0, 1, 1, 0),
p: theme.spacing(1),
maxWidth: "1000px",
}}
>
{widgetStates.map((ws) => ws.render())}
Expand Down Expand Up @@ -379,6 +380,7 @@ const ReadonlyFormWidgets: FC<{
marginBottom: theme.spacing(2),
margin: theme.spacing(0, 1, 1, 0),
p: theme.spacing(1),
maxWidth: "1000px",
}}
>
{formWidgets.widgets.map((widget, i) => {
Expand Down
4 changes: 3 additions & 1 deletion optuna_dashboard/ts/components/TrialList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,12 @@ const TrialListDetail: FC<{
? "rgba(255, 255, 255, 0.05)"
: "rgba(0, 0, 0, 0.05)",
width: "100%",
maxHeight: "150px",
overflow: "auto",
p: theme.spacing(0.5, 1),
borderRadius: theme.shape.borderRadius * 0.2,
display: "flex",
alignItems: "center",
whiteSpace: "nowrap",
}}
>
{value}
Expand Down

0 comments on commit dc4a11c

Please sign in to comment.