Skip to content

Commit ae77e8b

Browse files
authored
Add an padding in code examples (#1224)
1 parent a56d798 commit ae77e8b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

styles/theme-base.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,13 +1122,18 @@ div.tip p:first-child {
11221122
overflow-x:auto;
11231123
white-space:pre;
11241124
}
1125-
.docs .example-contents > [class$="code"],
1125+
1126+
.docs .example-contents > [class$="code"]:not(.phpcode),
11261127
.docs .example-contents.screen,
11271128
.informalexample .literallayout {
11281129
padding: .75rem;
11291130
overflow-x: auto;
11301131
}
11311132

1133+
.docs .example-contents > .phpcode > code {
1134+
padding: .75rem;
1135+
}
1136+
11321137
.docs .classsynopsis,
11331138
.refsect1 .fieldsynopsis,
11341139
.refsect1 .dc-description,

0 commit comments

Comments
 (0)