diff --git a/CHANGELOG.md b/CHANGELOG.md index c30240dcea02413eb78df807942b2a8bc315d330..8b99a9c099e01b288f3d930f9e067c739406c233 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 ae81410f49c03fba253686f5aaee292b925bb5bb..e7fb706d6356dc9dd5c5dbeac385d0364928cf43 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;