From 4233c9aee5d64de0e0cbaf948b61faea89a81d24 Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Tue, 23 Jul 2024 10:36:21 +0200 Subject: [PATCH] Force line breaks in pre --- app/assets/stylesheets/01_common.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/01_common.scss b/app/assets/stylesheets/01_common.scss index 47b94bc1d..6747e0ae5 100644 --- a/app/assets/stylesheets/01_common.scss +++ b/app/assets/stylesheets/01_common.scss @@ -11,6 +11,11 @@ body { min-height: 100%; } +// Wrap text in pre tag +pre { + white-space: pre-wrap; +} + // Mobile Safari doesn't bubble mouse events by default, unless: // // - the target element of the event is a link or a form field.