1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

refactor: fix operator upgrade alert box margins (#1078)

This commit is contained in:
olav 2022-06-08 14:55:15 +02:00 committed by GitHub
parent c0edf76033
commit 6d05c65631

View File

@ -35,12 +35,11 @@ export const ConstraintAccordionEditBody: React.FC<
return (
<>
<ConditionallyRender
condition={oneOf(newOperators, localConstraint.operator)}
show={<OperatorUpgradeAlert />}
/>
<div className={styles.inputContainer}>
<ConditionallyRender
condition={oneOf(newOperators, localConstraint.operator)}
show={<OperatorUpgradeAlert />}
/>
<InvertedOperator
inverted={Boolean(localConstraint.inverted)}
setInvertedOperator={setInvertedOperator}