summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/projects.css.scss13
-rw-r--r--app/views/commits/show.html.haml4
2 files changed, 11 insertions, 6 deletions
diff --git a/app/assets/stylesheets/projects.css.scss b/app/assets/stylesheets/projects.css.scss
index bde9aa5d15f..485a0888342 100644
--- a/app/assets/stylesheets/projects.css.scss
+++ b/app/assets/stylesheets/projects.css.scss
@@ -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;
+}
diff --git a/app/views/commits/show.html.haml b/app/views/commits/show.html.haml
index 3beeada8c8c..3227a447a60 100644
--- a/app/views/commits/show.html.haml
+++ b/app/views/commits/show.html.haml
@@ -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)