diff --git a/html/lib/diffHighlighter.js b/html/lib/diffHighlighter.js index fbc32a8..cc06fc8 100644 --- a/html/lib/diffHighlighter.js +++ b/html/lib/diffHighlighter.js @@ -214,7 +214,7 @@ var highlightDiff = function(diff, element, callbacks) { } else if (firstChar == " ") { line1 += ++hunk_start_line_1 + "\n"; line2 += ++hunk_start_line_2 + "\n"; - diffContent += l + "\n"; + diffContent += "
" + l + "
"; } } diff --git a/html/views/commit/commit.css b/html/views/commit/commit.css index 18d6a2e..268109d 100644 --- a/html/views/commit/commit.css +++ b/html/views/commit/commit.css @@ -61,7 +61,6 @@ table.diff { } .diff a.stagebutton { - display: block; width: 40px; padding: 0 2px 0 2px; margin-bottom: 4px; @@ -77,7 +76,6 @@ table.diff { text-align: center; -webkit-border-radius: 2px; - float: left; } #multiselect { @@ -94,4 +92,4 @@ table.diff { border: 5px solid #EEE; margin: -5px; padding-left: 20px; -} \ No newline at end of file +}