Add maxWidth setting to UpdatableFormWidget.

This commit is contained in:
hrntsm committed 2023-05-17 21:18:16 +09:00
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),