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