diff --git a/relog-web/src/PipelineBlock.js b/relog-web/src/PipelineBlock.js index 08460df..21f65af 100644 --- a/relog-web/src/PipelineBlock.js +++ b/relog-web/src/PipelineBlock.js @@ -169,13 +169,13 @@ const PipelineBlock = (props) => { onConnect={onConnect} onElementsRemove={onElementsRemove} deleteKeyCode={46} - maxZoom={3} + maxZoom={1.25} minZoom={0.5} snapToGrid={true} preventScrolling={false} > - +
@@ -185,11 +185,11 @@ const PipelineBlock = (props) => { onClick={props.onAddProduct} />
diff --git a/relog-web/src/PipelineBlock.module.css b/relog-web/src/PipelineBlock.module.css index d4f8bb7..4a0f80d 100644 --- a/relog-web/src/PipelineBlock.module.css +++ b/relog-web/src/PipelineBlock.module.css @@ -1,5 +1,5 @@ .PipelineBlock { - height: 600px !important; + height: 800px !important; border: 1px solid rgba(0, 0, 0, 0.1) !important; border-radius: var(--border-radius) !important; margin-bottom: 12px !important; diff --git a/relog-web/src/PlantBlock.js b/relog-web/src/PlantBlock.js index a99defd..752a24d 100644 --- a/relog-web/src/PlantBlock.js +++ b/relog-web/src/PlantBlock.js @@ -219,6 +219,7 @@ const PlantBlock = (props) => { tooltip="The cost to store a tonne of input product for one time period." value={props.value["storage"]["cost ($/tonne)"]} onChange={(v) => onChange(v, "storage", "cost ($/tonne)")} + validate="float" /> { tooltip="The maximum amount of input product this plant can have in storage at any given time." value={props.value["storage"]["limit (tonne)"]} onChange={(v) => onChange(v, "storage", "limit (tonne)")} + validate="float" />

Disposal

@@ -236,6 +238,7 @@ const PlantBlock = (props) => { value={props.value["disposal cost ($/tonne)"]} onChange={(v) => onChange(v, "disposal cost ($/tonne)")} disableKeys={true} + validate="float" /> { onChange={(v) => onChange(v, "disposal limit (tonne)")} disableKeys={true} valuePlaceholder="Unlimited" + validate="float" />

Emissions

@@ -256,6 +260,7 @@ const PlantBlock = (props) => { onChange={(v) => onChange(v, "emissions (tonne/tonne)")} keyPlaceholder="Emission name" valuePlaceholder="0" + validate="float" />