diff --git a/ui/src/kapacitor/components/KapacitorRules.js b/ui/src/kapacitor/components/KapacitorRules.js index ab1fd1e91..860c1d278 100644 --- a/ui/src/kapacitor/components/KapacitorRules.js +++ b/ui/src/kapacitor/components/KapacitorRules.js @@ -54,51 +54,50 @@ const KapacitorRules = ({ return ( -
-

- {builderHeader} -

-
- - Build Alert Rule - +
+
+

+ {builderHeader} +

+
+ + Build Alert Rule + +
+
+
+
- - -
-
-
-
-

- {scriptsHeader} -

-
- - Write TICKscript - -
-
- -
+
+
+

+ {scriptsHeader} +

+ + Write TICKscript + +
+
+
@@ -125,9 +124,7 @@ const PageContents = ({children}) =>
-
- {children} -
+ {children}
diff --git a/ui/src/kapacitor/components/KapacitorRulesTable.js b/ui/src/kapacitor/components/KapacitorRulesTable.js index 840011d9b..df0116144 100644 --- a/ui/src/kapacitor/components/KapacitorRulesTable.js +++ b/ui/src/kapacitor/components/KapacitorRulesTable.js @@ -15,35 +15,33 @@ const { } = TASKS_TABLE const KapacitorRulesTable = ({rules, source, onDelete, onChangeRuleStatus}) => -
- - - - - - - - - - - - {_.sortBy(rules, r => r.name.toLowerCase()).map(rule => { - return ( - - ) - })} - -
NameRule TypeMessageAlert Handlers - Task Enabled - -
-
+ + + + + + + + + + + + {_.sortBy(rules, r => r.name.toLowerCase()).map(rule => { + return ( + + ) + })} + +
NameRule TypeMessageAlert Handlers + Task Enabled + +
const handleDelete = (rule, onDelete) => onDelete(rule) diff --git a/ui/src/kapacitor/components/TasksTable.js b/ui/src/kapacitor/components/TasksTable.js index 84c079a76..bf48eb887 100644 --- a/ui/src/kapacitor/components/TasksTable.js +++ b/ui/src/kapacitor/components/TasksTable.js @@ -8,33 +8,31 @@ import {TASKS_TABLE} from 'src/kapacitor/constants/tableSizing' const {colName, colType, colEnabled, colActions} = TASKS_TABLE const TasksTable = ({tasks, source, onDelete, onChangeRuleStatus}) => -
- - - - - - - - - - {_.sortBy(tasks, t => t.id.toLowerCase()).map(task => { - return ( - - ) - })} - -
NameType - Task Enabled - -
-
+ + + + + + + + + + {_.sortBy(tasks, t => t.id.toLowerCase()).map(task => { + return ( + + ) + })} + +
NameType + Task Enabled + +
const handleDelete = (task, onDelete) => onDelete(task) diff --git a/ui/src/style/theme/_panels.scss b/ui/src/style/theme/_panels.scss index b109f0a43..5775643e5 100644 --- a/ui/src/style/theme/_panels.scss +++ b/ui/src/style/theme/_panels.scss @@ -9,6 +9,7 @@ $panel-gutter: 30px; display: flex; flex-direction: column; align-items: stretch; + margin-bottom: $panel-gutter; } .panel-heading {