Author: Elf Sundae (ElfSundae)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2025-11-13T10:26:06+08:00

Commit: 
https://github.com/php/web-php/commit/0c0d93a2e3784f21d6a8ef36489d087703352818
Raw diff: 
https://github.com/php/web-php/commit/0c0d93a2e3784f21d6a8ef36489d087703352818.diff

Fix example code block padding for PHP 8.3+ (#1501)

Co-authored-by: Luffy <[email protected]>

Changed paths:
  M  styles/theme-base.css


Diff:

diff --git a/styles/theme-base.css b/styles/theme-base.css
index d6f7263cdf..aea0f8f1aa 100644
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -948,6 +948,7 @@ div.tip p:first-child {
     overflow-x: auto;
 }
 
+.docs .example-contents > .phpcode > pre > code,
 .docs .example-contents > .phpcode > code {
     padding: .75rem;
 }

Reply via email to