Prevent source view from wrapping lines

This commit is contained in:
Jordi Boggiano 2013-10-02 19:32:52 +02:00 committed by Alex Crichton
parent 1501d65112
commit 49e6db7f35

View File

@ -118,7 +118,11 @@ body {
.content h1 { margin-top: 0; }
.content h1, .content h2 { margin-left: -20px; }
.content pre { padding: 20px; }
.content.source pre.rust {
white-space: pre;
overflow: auto;
padding-left: 0;
}
.content pre.line-numbers { float: left; border: none; }
.line-numbers span { color: #c67e2d; }
.line-numbers .line-highlighted {