mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-03 12:41:13 +08:00
Add maxWidth setting to UpdatableFormWidget.
This commit is contained in:
1 parent
c9c4ccca4d
commit
3b14ebdbbf
2 files changed
+2
-1
No files matched your search
@@ -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())}
|
||||
@@ -385,6 +386,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) => {
|
||||
|
||||
@@ -226,7 +226,6 @@ const TrialListDetail: FC<{
|
||||
? "rgba(255, 255, 255, 0.05)"
|
||||
: "rgba(0, 0, 0, 0.05)",
|
||||
width: "100%",
|
||||
maxWidth: "1000px",
|
||||
maxHeight: "150px",
|
||||
overflow: "auto",
|
||||
p: theme.spacing(0.5, 1),
|
||||
|
||||
Reference in new issue
Block a user