Skip to content

Commit

Permalink
Prevent source view from wrapping lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek authored and alexcrichton committed Oct 2, 2013
1 parent 1501d65 commit 49e6db7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/librustdoc/html/static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 49e6db7

Please sign in to comment.