From 5126c971399d21d669784daa11fd95cdb6a9537f Mon Sep 17 00:00:00 2001 From: DavG25 <31524206+DavG25@users.noreply.github.com> Date: Sat, 15 Apr 2023 04:03:43 +0200 Subject: [PATCH] Improve CSS in default and notebook mode (#1209) --- css/html_readable_style.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/css/html_readable_style.css b/css/html_readable_style.css index d3f580a5..db074423 100644 --- a/css/html_readable_style.css +++ b/css/html_readable_style.css @@ -4,6 +4,8 @@ margin-right: auto; background-color: rgb(31, 41, 55); padding:3em; + word-break: break-word; + overflow-wrap: anywhere; } .container p { @@ -12,3 +14,15 @@ margin-bottom: 22px; line-height: 1.4 !important; } + +.container li > p { + display: inline !important; +} + +.container code { + overflow-x: auto; +} + +.container :not(pre) > code { + white-space: normal !important; +} \ No newline at end of file