From 7aeccaa24b6c6680c2d961b6cee79badc1346cc3 Mon Sep 17 00:00:00 2001 From: hikae Date: Mon, 2 Mar 2020 16:12:55 +0900 Subject: [PATCH] Add pre-wrap to error --- core/gatsby-theme-docz/src/components/Playground/styles.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/gatsby-theme-docz/src/components/Playground/styles.js b/core/gatsby-theme-docz/src/components/Playground/styles.js index bd3bcbf25..a6a6da96a 100644 --- a/core/gatsby-theme-docz/src/components/Playground/styles.js +++ b/core/gatsby-theme-docz/src/components/Playground/styles.js @@ -18,6 +18,7 @@ export const error = { bg: '#FF4757', fontSize: 1, color: 'white', + whiteSpace: 'pre-wrap', } export const previewWrapper = {