diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx index 174a3b11a9ce9..475d652848326 100644 --- a/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_auto_refresh.tsx @@ -17,10 +17,6 @@ interface RulesListAutoRefreshProps { onRefresh: () => void; } -const flexGroupStyle = { - marginLeft: 'auto', -}; - const getLastUpdateText = (lastUpdate: string) => { if (!moment(lastUpdate).isValid()) { return ''; @@ -104,8 +100,13 @@ export const RulesListAutoRefresh = (props: RulesListAutoRefreshProps) => { ); return ( - - + + {lastUpdateText} diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx index efcd1b78f6240..120c71ed37bfa 100644 --- a/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_filters_bar.tsx @@ -212,40 +212,48 @@ export const RulesListFiltersBar = React.memo((props: RulesListFiltersBarProps) - + + + + - - - + + + + + {rulesStatusesTotal.error > 0 && ( + + + {!showErrors && ( + + )} + {showErrors && ( + + )} + + + )} - {rulesStatusesTotal.error > 0 && ( - - - {!showErrors && ( - - )} - {showErrors && ( - - )} - - - )} ); diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx index eeea751b48fff..aa7add0277134 100644 --- a/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_statuses.tsx @@ -34,7 +34,7 @@ export const RulesListStatuses = (props: RulesListStatusesProps) => { if (isRuleUsingExecutionStatus) { return ( - + {RULE_STATUS_ACTIVE(rulesStatuses.active)} @@ -70,7 +70,7 @@ export const RulesListStatuses = (props: RulesListStatusesProps) => { } return ( - + {RULE_LAST_RUN_OUTCOME_SUCCEEDED_DESCRIPTION(rulesLastRunOutcomes.succeeded)} diff --git a/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx index 12b4435416936..532cfc1a6798b 100644 --- a/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx +++ b/x-pack/platform/plugins/shared/triggers_actions_ui/public/application/sections/rules_list/components/rules_list_table.tsx @@ -970,9 +970,21 @@ export const RulesListTable = (props: RulesListTableProps) => { return ( - + - + {numberOfSelectedRules > 0 ? ( renderSelectAllDropdown?.() @@ -1001,6 +1013,7 @@ export const RulesListTable = (props: RulesListTableProps) => { {numberOfFilters > 0 && ( { columns={[selectionColumn, ...rulesListColumns]} sorting={{ sort }} rowHeader="name" + responsiveBreakpoint={false} rowProps={rowProps} css={ruleRowCss} cellProps={(rule: RuleTableItem) => ({