This commit is contained in:
Timothy N. Tsvetkov 2011-04-01 13:04:19 +04:00
parent 55eae841ef
commit 74a4a3de13
2 changed files with 7 additions and 2 deletions

View File

@ -29,10 +29,10 @@
.clear
%table.table.blob
%tr
%td.lines{ :style => "vertical-align: top" }
%td.lines
:plain
<pre>#{render_line_numbers(@blob.data.split("\n").length)}</pre>
%td.blob{ :style => "vertical-align: top" }
%td.blob
:plain
<pre>#{render_blob(@blob)}</pre>

View File

@ -88,6 +88,7 @@ table.blob td {
table.blob td.lines {
width: auto;
vertical-align: top;
}
table.blob td.lines pre {
@ -98,6 +99,10 @@ table.blob td.lines pre {
padding: 10px;
}
table.blob td.blob {
vertical-align: top;
}
table.blob td.blob pre {
padding: 10px;
}