[web-php] master: Apply white-space:pre to .phpcode and div.classsynopsis
| From: | Christoph M. Becker via GitHub | Date: | Tue, 03 Jan 2023 12:24:59 +0000 |
| Subject: | [web-php] master: Apply white-space:pre to .phpcode and div.classsynopsis | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30716@lists.php.net to get a copy of this message | ||
Author: Christoph M. Becker (cmb69)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2023-01-03T13:12:50+01:00
Commit: https://github.com/php/web-php/commit/65fc7be9a60e164fe941761688820a8d8b34a3d1
Raw diff: https://github.com/php/web-php/commit/65fc7be9a60e164fe941761688820a8d8b34a3d1.diff
Apply white-space:pre to .phpcode and div.classsynopsis
This is currently unnecessary, since PhD renders NBSPs instead of
regular space there, but if that changes, the layout needs to be
preserved.
Closes GH-744.
Changed paths:
M styles/theme-base.css
Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index 0206a82c7..18f3e72b9 100644
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -551,6 +551,7 @@ dl dd {
.phpcode, div.classsynopsis {
text-align: left;
+ white-space: pre;
}
div.classsynopsisinfo_comment {
margin-top:1.5rem;