From 88639e9f6f95ba7fe1935cc29a874dbe001d4814 Mon Sep 17 00:00:00 2001 From: sveisvei Date: Mon, 19 Dec 2016 21:56:24 +0100 Subject: [PATCH] remove margins --- .../src/component/strategies/add-strategy.jsx | 58 +++++++++---------- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/frontend/src/component/strategies/add-strategy.jsx b/frontend/src/component/strategies/add-strategy.jsx index 29131c4b1c..a3ec16f941 100644 --- a/frontend/src/component/strategies/add-strategy.jsx +++ b/frontend/src/component/strategies/add-strategy.jsx @@ -17,7 +17,7 @@ function gerArrayWithEntries (num) { } const Parameter = ({ set, input = {}, index }) => ( -
+
( const EditHeader = () => (

Edit strategy

-

+

Be carefull! Changing a strategy definition might also require changes to the implementation in the clients.

@@ -132,35 +132,33 @@ class AddStrategy extends Component { return (
{editmode ? : } -
- setValue('name', trim(target.value))} - value={input.name} - /> -
- setValue('description', target.value)} - value={input.description} - /> -
+ setValue('name', trim(target.value))} + value={input.name} + /> +
+ setValue('description', target.value)} + value={input.description} + /> + + + + { + e.preventDefault(); + incValue('_params'); + }}/>  Add parameter -
- - { - e.preventDefault(); - incValue('_params'); - }}/>  Add parameter -