From 4fc8ca3824cc910e4ee4dd145ed2ee46a43542ea Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Sun, 22 Oct 2023 13:19:57 -0400
Subject: [PATCH] Fixed rendering of pseudocode blocks

---
 CHANGELOG.md              | 1 +
 static/css/pseudocode.css | 1 +
 2 files changed, 2 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index c30240dce..8b99a9c09 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@
 * The tags page now renders categories as the the title instead of the slug
     name.
 * Added additional argument to `example` shortcode to turn off the copy button.
+* Fixed pseudocode not rendering properly due to element `p` overflow setting.
 
 ## 2.1.0
 
diff --git a/static/css/pseudocode.css b/static/css/pseudocode.css
index ae81410f4..e7fb706d6 100644
--- a/static/css/pseudocode.css
+++ b/static/css/pseudocode.css
@@ -73,6 +73,7 @@
 }
 .ps-root .ps-algorithmic.with-linenum .ps-line.ps-code {
   text-indent: -1.6em;
+  overflow: visible;
 }
 .ps-root .ps-algorithmic.with-linenum .ps-line.ps-code > span {
   text-indent: 0;
-- 
GitLab