mirror of
https://github.com/strapi/strapi.git
synced 2025-09-27 01:09:49 +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 { Flex } from '@strapi/design-system/Flex';
|
||||||
import { Typography } from '@strapi/design-system/Typography';
|
import { Typography } from '@strapi/design-system/Typography';
|
||||||
import { JSONInput } from '@strapi/design-system/JSONInput';
|
import { JSONInput } from '@strapi/design-system/JSONInput';
|
||||||
import { pxToRem } from '@strapi/helper-plugin';
|
|
||||||
import getDefaultMessage from '../utils/getActionTypesDefaultMessages';
|
import getDefaultMessage from '../utils/getActionTypesDefaultMessages';
|
||||||
import ActionItem from './ActionItem';
|
import ActionItem from './ActionItem';
|
||||||
|
|
||||||
@ -83,7 +82,6 @@ const ActionBody = ({ status, data, formattedDate }) => {
|
|||||||
<JSONInput
|
<JSONInput
|
||||||
value={JSON.stringify(payload, null, 2)}
|
value={JSON.stringify(payload, null, 2)}
|
||||||
disabled
|
disabled
|
||||||
height={pxToRem(150)}
|
|
||||||
label={formatMessage({
|
label={formatMessage({
|
||||||
id: 'Settings.permissions.auditLogs.payload',
|
id: 'Settings.permissions.auditLogs.payload',
|
||||||
defaultMessage: 'Payload',
|
defaultMessage: 'Payload',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user