1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Add an padding in code examples (#1224)

This commit is contained in:
Mikhail Alferov
2025-02-07 13:57:15 +03:00
committed by GitHub
parent a56d7984d8
commit ae77e8b55c

View File

@@ -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,