From cd7540cfa421813489b59ada1a270ce85ee92778 Mon Sep 17 00:00:00 2001 From: Josh Vickery Date: Thu, 12 Oct 2023 22:59:11 -0500 Subject: [PATCH] fix code blocks stretching tables outside of editor --- .../renderer/src/components/Views/Editor/styles.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/renderer/src/components/Views/Editor/styles.scss b/packages/renderer/src/components/Views/Editor/styles.scss index 1d691ea..2512542 100644 --- a/packages/renderer/src/components/Views/Editor/styles.scss +++ b/packages/renderer/src/components/Views/Editor/styles.scss @@ -109,6 +109,16 @@ .code-language { right: 32px; } + .code-collapser { + right: 32px; + } + + pre { + code { + white-space: pre-wrap !important; + word-break: break-all !important; + } + } td, th {