Skip to content

Commit 71e7fee

Browse files
committed
Set zero padding for pre tags
1 parent 05d8767 commit 71e7fee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustdoc/html/static/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ code, pre {
128128
border-radius: 3px;
129129
padding: 0 0.2em;
130130
}
131+
.docblock pre code {
132+
padding: 0;
133+
}
131134
pre {
132135
background-color: #F5F5F5;
133136
padding: 14px;

0 commit comments

Comments
 (0)