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

Fix code blocks overflowing content. (#777)

This commit is contained in:
Leonardo Poletto
2023-08-09 13:29:32 -03:00
committed by GitHub
parent a6d5888f3a
commit 57fe66b12e

View File

@@ -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 * {