Skip to content

Commit

Permalink
Fix django-wiki#234 by adding @friedmud's suggestion and a max-height…
Browse files Browse the repository at this point in the history
… om <pre>'s
  • Loading branch information
benjaoming committed May 20, 2014
1 parent 44dcfdd commit 9f265e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions wiki/static/wiki/bootstrap/css/wiki-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -4133,6 +4133,10 @@ label {
}
.wiki-article pre {
max-width: 700px;
max-height: 150px;
overflow: auto;
word-wrap: normal;
white-space: pre;
}
.wiki-article table {
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion wiki/static/wiki/bootstrap/css/wiki-bootstrap.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ label { font-size: 16px; font-weight: normal; color: #777;}

.wiki-article pre {
max-width: 700px;
max-height: 150px;
overflow: auto;
word-wrap: normal;
white-space: pre;
}

.wiki-article table
Expand Down

0 comments on commit 9f265e5

Please sign in to comment.