Skip to content

Commit

Permalink
Add an padding in code examples (#1224)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalferov authored Feb 7, 2025
1 parent a56d798 commit ae77e8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion styles/theme-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ae77e8b

Please sign in to comment.