From e39fa383f288ec536a4e127734cfce64afcb80ba Mon Sep 17 00:00:00 2001 From: Bart Mesuere Date: Sat, 21 Oct 2023 22:25:06 +0200 Subject: [PATCH] fix word wrapping --- app/assets/stylesheets/bootstrap_style_overrides.css.scss | 2 +- app/assets/stylesheets/models/submissions.css.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/bootstrap_style_overrides.css.scss b/app/assets/stylesheets/bootstrap_style_overrides.css.scss index bd11472f3c..8dc883c1c1 100644 --- a/app/assets/stylesheets/bootstrap_style_overrides.css.scss +++ b/app/assets/stylesheets/bootstrap_style_overrides.css.scss @@ -20,7 +20,7 @@ pre { font-size: 13px; line-height: 1.38461538; word-break: break-all; - word-wrap: break-word; + overflow-wrap: break-word; background-color: var(--d-code-bg); border: 1px solid var(--d-outline); border-radius: var(--d-border-radius-base); diff --git a/app/assets/stylesheets/models/submissions.css.scss b/app/assets/stylesheets/models/submissions.css.scss index 8376c6fa81..9ec4f71b67 100644 --- a/app/assets/stylesheets/models/submissions.css.scss +++ b/app/assets/stylesheets/models/submissions.css.scss @@ -125,7 +125,7 @@ text-decoration: none; padding-left: 5px; padding-right: 5px; - word-wrap: break-word; + overflow-wrap: anywhere; word-break: break-all; white-space: pre-wrap; font-family: var(--d-font-monospace);