[web-php] master: Fix code blocks overflowing content. (#777)

From: Date: Wed, 09 Aug 2023 16:42:56 +0000
Subject: [web-php] master: Fix code blocks overflowing content. (#777)
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-30957@lists.php.net to get a copy of this message
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 * {

« previous php.webmaster (#30957) next »