feedback fix - removed translateY

This commit is contained in:
ronronscelestes 2021-10-06 09:16:13 +02:00
parent 790eaef5c2
commit 7cc8feaeaa

View File

@ -12,8 +12,8 @@ import { TextButton } from '@strapi/parts/TextButton';
import { Field, FieldArray, useFormikContext } from 'formik';
import { useIntl } from 'react-intl';
const RemoveButtonContainer = styled(Box)`
transform: translateY(50%);
const RemoveButtonContainer = styled(Row)`
height: ${({ theme }) => theme.sizes.input.M};
`;
const HeadersInput = () => {
@ -56,7 +56,7 @@ const HeadersInput = () => {
/>
</GridItem>
<GridItem col={6}>
<Row>
<Row alignItems="flex-end">
<Box style={{ flex: 1 }}>
<Field
as={TextInput}