Bugfix: Wrap long lines in code blocks

This commit is contained in:
Starbeamrainbowlabs 2019-01-30 21:36:21 +00:00
parent dc860acfd3
commit c120902cda
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
3 changed files with 6 additions and 1 deletions

View File

@ -25,6 +25,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Squashed a warning in the history revision system when creating new pages (thanks @tspivey for spotting this!) - Squashed a warning in the history revision system when creating new pages (thanks @tspivey for spotting this!)
- Standardise line endings to `\n` (linux) - Standardise line endings to `\n` (linux)
- Enhanced setup instructions in README. - Enhanced setup instructions in README.
- Long lines in code blocks now wrap correctly.
## v0.17.1 ## v0.17.1

View File

@ -294,6 +294,8 @@ main:not(.printable) { position: relative; z-index: 1000; padding: 2em 2em 0.5em
blockquote { padding-left: 1em; border-left: 0.2em solid #442772; border-radius: 0.2rem; } blockquote { padding-left: 1em; border-left: 0.2em solid #442772; border-radius: 0.2rem; }
pre { white-space: pre-wrap; }
a { cursor: pointer; } a { cursor: pointer; }
a.redlink:link { color: rgb(230, 7, 7); } a.redlink:link { color: rgb(230, 7, 7); }
a.redlink:visited { color: rgb(130, 15, 15); /*#8b1a1a*/ } a.redlink:visited { color: rgb(130, 15, 15); /*#8b1a1a*/ }
@ -409,7 +411,7 @@ if($settings->sessionprefix == "auto")
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
/** The version of Pepperminty Wiki currently running. */ /** The version of Pepperminty Wiki currently running. */
$version = "v0.18-dev"; $version = "v0.18-dev";
$commit = "1cb30b28ca8b7264041fc7a3660c12ac48f7819a"; $commit = "dc860acfd3db082023b34fd769be7885c521b4cd";
/// Environment /// /// Environment ///
/** Holds information about the current request environment. */ /** Holds information about the current request environment. */
$env = new stdClass(); $env = new stdClass();

View File

@ -53,6 +53,8 @@ main:not(.printable) { position: relative; z-index: 1000; padding: 2em 2em 0.5em
blockquote { padding-left: 1em; border-left: 0.2em solid #442772; border-radius: 0.2rem; } blockquote { padding-left: 1em; border-left: 0.2em solid #442772; border-radius: 0.2rem; }
pre { white-space: pre-wrap; }
a { cursor: pointer; } a { cursor: pointer; }
a.redlink:link { color: rgb(230, 7, 7); } a.redlink:link { color: rgb(230, 7, 7); }
a.redlink:visited { color: rgb(130, 15, 15); /*#8b1a1a*/ } a.redlink:visited { color: rgb(130, 15, 15); /*#8b1a1a*/ }