[web-php] master: fix #62125 no wrap and scroll for source code examples (#444)
| From: | peterdd via GitHub | Date: | Fri, 05 Jul 2024 08:02:43 +0000 |
| Subject: | [web-php] master: fix #62125 no wrap and scroll for source code examples (#444) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-31794@lists.php.net to get a copy of this message | ||
Author: peterdd (peterdd)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-07-05T11:02:30+03:00
Commit: https://github.com/php/web-php/commit/d2279651a59d94505aff436060415b2f4652f849
Raw diff: https://github.com/php/web-php/commit/d2279651a59d94505aff436060415b2f4652f849.diff
fix #62125 no wrap and scroll for source code examples (#444)
Changed paths:
M styles/theme-base.css
Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index b30c7f01f5..97c494b6ce 100644
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -1313,6 +1313,8 @@ div.tip p:first-child {
}
.docs .example-contents pre {
margin:0;
+ overflow-x:auto;
+ white-space:pre;
}
.docs .example-contents > [class$="code"],
.docs .example-contents.screen,