From e19a41d015aa071b4a9be7daa93daff34eeb5eae Mon Sep 17 00:00:00 2001 From: Lukas Martinelli Date: Mon, 9 Jan 2017 21:30:49 +0100 Subject: [PATCH] Change filter layout again --- src/components/filter/FilterEditor.jsx | 34 ++++++++++---------- src/components/filter/SingleFilterEditor.jsx | 8 ++--- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/components/filter/FilterEditor.jsx b/src/components/filter/FilterEditor.jsx index a7fffe9..be3d819 100644 --- a/src/components/filter/FilterEditor.jsx +++ b/src/components/filter/FilterEditor.jsx @@ -12,8 +12,8 @@ import SingleFilterEditor from './SingleFilterEditor' import FilterEditorBlock from './FilterEditorBlock' import Button from '../Button' -import AddIcon from 'react-icons/lib/md/add-circle-outline' import DeleteIcon from 'react-icons/lib/md/delete' +import AddIcon from 'react-icons/lib/fa/plus' function hasCombiningFilter(filter) { return combiningFilterOps.indexOf(filter[0]) >= 0 @@ -91,29 +91,29 @@ export default class CombiningFilterEditor extends React.Component { } return
-
+
+ + width: '18%', + marginRight: '2%', + }}> + Add filter + -
diff --git a/src/components/filter/SingleFilterEditor.jsx b/src/components/filter/SingleFilterEditor.jsx index 2433ea6..bac01fe 100644 --- a/src/components/filter/SingleFilterEditor.jsx +++ b/src/components/filter/SingleFilterEditor.jsx @@ -36,7 +36,7 @@ class SingleFilterEditor extends React.Component { }}> [propName, propName])} @@ -44,7 +44,7 @@ class SingleFilterEditor extends React.Component { /> this.onFilterPartChanged(filterOp, propertyName, v.split(','))}