mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
Make JSON input the size of its content
This commit is contained in:
parent
15247d1440
commit
e45fb7d63f
@ -7,7 +7,6 @@ import { Box } from '@strapi/design-system/Box';
|
||||
import { Flex } from '@strapi/design-system/Flex';
|
||||
import { Typography } from '@strapi/design-system/Typography';
|
||||
import { JSONInput } from '@strapi/design-system/JSONInput';
|
||||
import { pxToRem } from '@strapi/helper-plugin';
|
||||
import getDefaultMessage from '../utils/getActionTypesDefaultMessages';
|
||||
import ActionItem from './ActionItem';
|
||||
|
||||
@ -83,7 +82,6 @@ const ActionBody = ({ status, data, formattedDate }) => {
|
||||
<JSONInput
|
||||
value={JSON.stringify(payload, null, 2)}
|
||||
disabled
|
||||
height={pxToRem(150)}
|
||||
label={formatMessage({
|
||||
id: 'Settings.permissions.auditLogs.payload',
|
||||
defaultMessage: 'Payload',
|
||||
|
Loading…
x
Reference in New Issue
Block a user