Skip to content

Commit

Permalink
Fix split input minimum width
Browse files Browse the repository at this point in the history
  • Loading branch information
abrenneke committed Jul 31, 2024
1 parent c0c0f49 commit ad64633
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/app/src/components/NodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ const Container = styled.div`
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
}
.split-max-input {
min-width: 75px;
}
}
.node-color-picker {
Expand Down Expand Up @@ -481,6 +485,7 @@ export const NodeEditor: FC<NodeEditorProps> = ({ selectedNode, onDeselect }) =>
</label>
<label>Max:</label>
<TextField
className="split-max-input"
type="number"
placeholder="Max"
value={selectedNode.splitRunMax ?? 10}
Expand Down

0 comments on commit ad64633

Please sign in to comment.