Commit 3e95a6d73bb0817ec6869a5285d2e569d335e91b
1 parent
ded7d08d
Exists in
master
and in
4 other branches
make commit messages multiline
Showing
2 changed files
with
11 additions
and
6 deletions
Show diff stats
app/assets/stylesheets/projects.css.scss
@@ -411,7 +411,7 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | @@ -411,7 +411,7 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | ||
411 | text-shadow: #555 1px 1px; | 411 | text-shadow: #555 1px 1px; |
412 | } | 412 | } |
413 | 413 | ||
414 | -/** FALSH **/ | 414 | +/** FLASH **/ |
415 | 415 | ||
416 | #flash_container { | 416 | #flash_container { |
417 | height:40px; | 417 | height:40px; |
@@ -682,9 +682,9 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | @@ -682,9 +682,9 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | ||
682 | } | 682 | } |
683 | 683 | ||
684 | .top_panel_issues{ | 684 | .top_panel_issues{ |
685 | - #issue_search_form { | ||
686 | - margin:5px 0; | ||
687 | - input { | 685 | + #issue_search_form { |
686 | + margin:5px 0; | ||
687 | + input { | ||
688 | border:1px solid #D3D3D3; | 688 | border:1px solid #D3D3D3; |
689 | padding: 3px; | 689 | padding: 3px; |
690 | height: 28px; | 690 | height: 28px; |
@@ -693,10 +693,13 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | @@ -693,10 +693,13 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | ||
693 | box-sizing: border-box; | 693 | box-sizing: border-box; |
694 | -moz-box-sizing: border-box; | 694 | -moz-box-sizing: border-box; |
695 | 695 | ||
696 | - &:focus { | 696 | + &:focus { |
697 | border-color:#c2e1ef; | 697 | border-color:#c2e1ef; |
698 | } | 698 | } |
699 | } | 699 | } |
700 | } | 700 | } |
701 | } | 701 | } |
702 | 702 | ||
703 | +pre.commit_message { | ||
704 | + white-space: pre-wrap; | ||
705 | +} |
app/views/commits/show.html.haml
@@ -16,7 +16,9 @@ | @@ -16,7 +16,9 @@ | ||
16 | %td= @commit.committed_date | 16 | %td= @commit.committed_date |
17 | %tr | 17 | %tr |
18 | %td Message | 18 | %td Message |
19 | - %td= @commit.safe_message | 19 | + %td |
20 | + %pre.commit_message | ||
21 | + = preserve @commit.safe_message | ||
20 | %tr | 22 | %tr |
21 | %td Tree | 23 | %td Tree |
22 | %td= link_to 'Browse Code', tree_project_path(@project, :commit_id => @commit.id) | 24 | %td= link_to 'Browse Code', tree_project_path(@project, :commit_id => @commit.id) |