Author: Leonardo Poletto (leopoletto)
Committer: GitHub (web-flow)
Pusher: sgolemon
Date: 2023-08-09T11:29:32-05:00

Commit: 
https://github.com/php/web-php/commit/57fe66b12e936439299971fd17f9370ff048911b
Raw diff: 
https://github.com/php/web-php/commit/57fe66b12e936439299971fd17f9370ff048911b.diff

Fix code blocks overflowing content.  (#777)

Changed paths:
  M  styles/theme-base.css


Diff:

diff --git a/styles/theme-base.css b/styles/theme-base.css
index 4158e73134..ae95208f24 100644
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -552,6 +552,10 @@ dl dd {
     padding:0 1.5rem;
 }
 
+.php8-code.phpcode{
+    overflow-x: auto;
+}
+
 .phpcode, div.classsynopsis {
     text-align: left;
 }
@@ -1313,6 +1317,7 @@ div.tip p:first-child {
 .docs .example-contents.screen,
 .informalexample .literallayout {
     padding: .75rem;
+    overflow-x: auto;
 }
 
 .docs .classsynopsis,
@@ -1325,6 +1330,7 @@ div.tip p:first-child {
 
 .docs .phpcode code {
     display: block;
+    overflow-x: auto;
 }
 
 .docs .qandaentry dt .phpcode * {

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to