Skip to content

The open alternative to Salesforce, designed for AI.

Fix: add a new style to the target text box (#18065)

BugIsGode051cce24f0c
diff --git a/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx b/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx
index c75574ae9ed..fae596418f3 100644
--- a/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx
+++ b/packages/twenty-front/src/modules/settings/playground/components/RestPlayground.tsx
@@ -27,6 +27,12 @@ const StyledContainer = styled.div`
--scalar-color-2: ${({ theme }) => theme.font.color.secondary};
--scalar-color-3: ${({ theme }) => theme.font.color.tertiary};
}
+
+ .scalar-app .text-pretty {
+ overflow-wrap: break-word;
+ word-break: normal;
+ white-space: normal;
+ }
`;
const ApiReferenceReact = lazy(() =>