From 8b36bc1c0ee428b2e16756eab1defaf96a207763 Mon Sep 17 00:00:00 2001 From: Valentin Jonovs Date: Sat, 26 Oct 2019 20:58:45 +0200 Subject: [PATCH] fix: Ensure chips are wrapped (#194) --- .../__tests__/__snapshots__/strategy-input-list-test.jsx.snap | 3 +++ frontend/src/component/feature/form/strategy-input-list.jsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/feature/form/__tests__/__snapshots__/strategy-input-list-test.jsx.snap b/frontend/src/component/feature/form/__tests__/__snapshots__/strategy-input-list-test.jsx.snap index 97275c51d9..d6dac1cf83 100644 --- a/frontend/src/component/feature/form/__tests__/__snapshots__/strategy-input-list-test.jsx.snap +++ b/frontend/src/component/feature/form/__tests__/__snapshots__/strategy-input-list-test.jsx.snap @@ -9,6 +9,7 @@ exports[`renders correctly when disabled 1`] = ` style={ Object { "display": "flex", + "flexWrap": "wrap", } } > @@ -44,6 +45,7 @@ exports[`renders strategy with empty list as param 1`] = ` style={ Object { "display": "flex", + "flexWrap": "wrap", } } /> @@ -92,6 +94,7 @@ exports[`renders strategy with list as param 1`] = ` style={ Object { "display": "flex", + "flexWrap": "wrap", } } > diff --git a/frontend/src/component/feature/form/strategy-input-list.jsx b/frontend/src/component/feature/form/strategy-input-list.jsx index f111fa810b..c6129609de 100644 --- a/frontend/src/component/feature/form/strategy-input-list.jsx +++ b/frontend/src/component/feature/form/strategy-input-list.jsx @@ -55,7 +55,7 @@ export default class InputList extends Component {

{name}

-
+
{list.map((entryValue, index) => (