From 191b444b6e0e1f71ae29ca26b988ea8ae2b67637 Mon Sep 17 00:00:00 2001 From: matrixfox Date: Mon, 20 May 2024 17:58:40 -0700 Subject: [PATCH] Fixed Code white-space Code text should overflow correctly. --- _src/less/reset.less | 4 ++++ stylesheets/style.css | 3 +++ 2 files changed, 7 insertions(+) diff --git a/_src/less/reset.less b/_src/less/reset.less index 5ac9bbc..cb2aaf7 100644 --- a/_src/less/reset.less +++ b/_src/less/reset.less @@ -3,6 +3,10 @@ pre { word-wrap: normal; } +pre code { + white-space: pre; +} + h1, h2, h3 { margin-top: 0px; margin-bottom: 0px; diff --git a/stylesheets/style.css b/stylesheets/style.css index 66459cb..605466f 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -7,6 +7,9 @@ pre { word-break: normal; word-wrap: normal; } +pre code { + white-space: pre; +} h1, h2, h3 {