Use pre-wrap for diff code in discussion view

This commit is contained in:
Vinnie Okada 2015-03-14 12:20:40 -06:00
parent 19e0dafbef
commit d7f357a386
2 changed files with 6 additions and 0 deletions

View file

@ -23,6 +23,7 @@ v 7.9.0 (unreleased)
- Fix checkbox alignment on the application settings page.
- Generalize image upload in drag and drop in markdown to all files (Hannes Rosenögger)
- Fix mass-unassignment of issues (Robert Speicher)
- Fix hidden diff comments in merge request discussion view
- Allow user confirmation to be skipped for new users via API
- Add a service to send updates to an Irker gateway (Romain Coltel)
- Add brakeman (security scanner for Ruby on Rails)

View file

@ -89,6 +89,11 @@ ul.notes {
}
}
// Diff code in discussion view
.discussion-body .diff-file .line_content {
white-space: pre-wrap;
}
.diff-file .notes_holder {
font-size: 13px;
line-height: 18px;