diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/add_item_form/index.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/add_item_form/index.tsx index 7fa427952166d..cc09c1cb97ea4 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/add_item_form/index.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/add_item_form/index.tsx @@ -32,14 +32,6 @@ interface AddItemProps { validate?: (args: unknown) => boolean; } -const MyEuiFormRow = styled(EuiFormRow)` - .euiFormRow__labelWrapper { - .euiText { - padding-right: 32px; - } - } -`; - export const MyAddItemButton = styled(EuiButtonEmpty)` margin: 4px 0px; font-size: 12px; @@ -130,7 +122,7 @@ export const AddItem = ({ const values = field.value as string[]; return ( - - + ); }; diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/mitre/index.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/mitre/index.tsx index 54df23125d500..3aface51d3c34 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/mitre/index.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/mitre/index.tsx @@ -35,14 +35,6 @@ const MitreAttackContainer = styled.div` margin-top: 16px; `; -const InitialMitreAttackFormRow = styled(EuiFormRow)` - .euiFormRow__labelWrapper { - .euiText { - padding-right: 32px; - } - } -`; - interface AddItemProps { field: FieldHook; dataTestSubj: string; // eslint-disable-line react/no-unused-prop-types @@ -174,14 +166,14 @@ export const AddMitreAttackThreat = memo(({ field, idAria, isDisabled }: AddItem {values.map((threat, index) => (
{index === 0 ? ( - <>{getSelectTactic(threat, index, isDisabled)} - + ) : (