make commit messages multiline

This commit is contained in:
Nihad Abbasov 2011-10-31 17:34:22 +04:00
parent ded7d08d70
commit 3e95a6d73b
2 changed files with 11 additions and 6 deletions

View file

@ -411,7 +411,7 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
text-shadow: #555 1px 1px;
}
/** FALSH **/
/** FLASH **/
#flash_container {
height:40px;
@ -682,9 +682,9 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
}
.top_panel_issues{
#issue_search_form {
margin:5px 0;
input {
#issue_search_form {
margin:5px 0;
input {
border:1px solid #D3D3D3;
padding: 3px;
height: 28px;
@ -693,10 +693,13 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
box-sizing: border-box;
-moz-box-sizing: border-box;
&:focus {
&:focus {
border-color:#c2e1ef;
}
}
}
}
pre.commit_message {
white-space: pre-wrap;
}

View file

@ -16,7 +16,9 @@
%td= @commit.committed_date
%tr
%td Message
%td= @commit.safe_message
%td
%pre.commit_message
= preserve @commit.safe_message
%tr
%td Tree
%td= link_to 'Browse Code', tree_project_path(@project, :commit_id => @commit.id)