Skip to content

Commit

Permalink
Fix issue overlong lines in <pre> blocks should not wrap
Browse files Browse the repository at this point in the history
Close #8
Close #58
  • Loading branch information
talha131 committed Nov 8, 2013
1 parent 49768dd commit 3caedb0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions static/css/elegant.css
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,22 @@ ul.footer-content li {
padding-right: 10px;
}
/* Syntax Highlight */
table {
table-layout: fixed;
width: 100%;
}
.linenos {
width:5%;
}
.linenos div pre {
text-align:right;
}
pre {
overflow: auto;
white-space: pre;
word-break: normal;
word-wrap: normal;
}
.highlight pre {
background-color: #fdf6e3;
border-radius: 3px 3px 3px 3px;
Expand Down

0 comments on commit 3caedb0

Please sign in to comment.