diff --git a/airflow-core/src/airflow/ui/src/components/RenderedJsonField.tsx b/airflow-core/src/airflow/ui/src/components/RenderedJsonField.tsx index 634fecd600725..5a9095172efeb 100644 --- a/airflow-core/src/airflow/ui/src/components/RenderedJsonField.tsx +++ b/airflow-core/src/airflow/ui/src/components/RenderedJsonField.tsx @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -import { Flex, type FlexProps } from "@chakra-ui/react"; +import { Box, Flex, type FlexProps } from "@chakra-ui/react"; import Editor, { type OnMount } from "@monaco-editor/react"; import { useCallback } from "react"; @@ -46,30 +46,34 @@ const RenderedJsonField = ({ collapsed = false, content, enableClipboard = true, ); return ( - - + + + + + + {enableClipboard ? (