[web-php] master: Add an padding in code examples (#1224)

From: Date: Fri, 07 Feb 2025 11:04:39 +0000
Subject: [web-php] master: Add an padding in code examples (#1224)
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-32683@lists.php.net to get a copy of this message
Author: Mikhail Alferov (mmalferov) Committer: GitHub (web-flow) Pusher: saundefined Date: 2025-02-07T13:57:15+03:00 Commit: https://github.com/php/web-php/commit/ae77e8b55cadb95ec877ecfc4466946a2f81171a Raw diff: https://github.com/php/web-php/commit/ae77e8b55cadb95ec877ecfc4466946a2f81171a.diff Add an padding in code examples (#1224) Changed paths: M styles/theme-base.css Diff: diff --git a/styles/theme-base.css b/styles/theme-base.css index b35a6a43fd..28954fce5c 100644 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -1122,13 +1122,18 @@ div.tip p:first-child { overflow-x:auto; white-space:pre; } -.docs .example-contents > [class$="code"], + +.docs .example-contents > [class$="code"]:not(.phpcode), .docs .example-contents.screen, .informalexample .literallayout { padding: .75rem; overflow-x: auto; } +.docs .example-contents > .phpcode > code { + padding: .75rem; +} + .docs .classsynopsis, .refsect1 .fieldsynopsis, .refsect1 .dc-description,

« previous php.webmaster (#32683) next »