Skip to content

Commit

Permalink
fix: Input widths for multi input rows
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjon3s committed Apr 23, 2024
1 parent 33c625f commit 6565417
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion editor.planx.uk/src/@planx/components/Checklist/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const OptionEditor: React.FC<{
{props.value.id ? (
<input type="hidden" value={props.value.id} readOnly />
) : null}
<InputRowItem width="50%">
<InputRowItem width="200%">
<Input
required
format="bold"
Expand Down Expand Up @@ -104,6 +104,7 @@ const OptionEditor: React.FC<{
},
});
}}
sx={{ width: { md: "160px" }, maxWidth: "160px" }}
/>

{typeof props.index !== "undefined" &&
Expand Down
2 changes: 1 addition & 1 deletion editor.planx.uk/src/@planx/components/Question/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const OptionEditor: React.FC<{
{props.value.id && (
<input type="hidden" value={props.value.id} readOnly />
)}
<InputRowItem width="100%">
<InputRowItem width="200%">
<Input
required
format="bold"
Expand Down

0 comments on commit 6565417

Please sign in to comment.