From 174cb73968bb6fb050673d43cc39a6316709a0db Mon Sep 17 00:00:00 2001 From: Wyatt Childers Date: Sat, 11 May 2024 18:30:31 -0400 Subject: [PATCH] Update Super Notes to prevent code blocks from wrapping --- .../Components/SuperEditor/Lexical/Theme/editor.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/web/src/javascripts/Components/SuperEditor/Lexical/Theme/editor.scss b/packages/web/src/javascripts/Components/SuperEditor/Lexical/Theme/editor.scss index f9cec26db13..e51b8a9c7d3 100644 --- a/packages/web/src/javascripts/Components/SuperEditor/Lexical/Theme/editor.scss +++ b/packages/web/src/javascripts/Components/SuperEditor/Lexical/Theme/editor.scss @@ -6,6 +6,9 @@ .Lexical__rtl { text-align: right; } +.Lexical__code { + white-space: pre; +} .Lexical__paragraph { margin: 0; position: relative;