Commit e8d10b321716154421a0642e4d9f48d00c3aa56b

Authored by gitlabhq
1 parent 84397ce8

issues fix layout

app/assets/stylesheets/projects.css.scss
... ... @@ -660,3 +660,16 @@ tbody tr:nth-child(2n) td, tbody tr.even td {
660 660 .right {
661 661 float:right;
662 662 }
  663 +
  664 +.width-50p{
  665 + width:50%;
  666 +}
  667 +.width-49p{
  668 + width:49%;
  669 +}
  670 +.width-30p{
  671 + width:30%;
  672 +}
  673 +.width-65p{
  674 + width:65%;
  675 +}
... ...
app/views/issues/show.html.haml
1 1 %h2
2 2 = "Issue ##{@issue.id} - #{html_escape(@issue.title)}"
3   -.span-15
  3 +.left.width-65p
4 4 -#= simple_format html_escape(@issue.content)
5 5 .issue_notes= render "notes/notes"
6   -.span-8.right
  6 +.right.width-30p
7 7 .span-8
8 8 - if @issue.closed
9 9 %center.success Closed
... ...
app/views/projects/show.html.haml
... ... @@ -13,11 +13,11 @@
13 13 = label_tag "week_view","Week"
14 14 .clear
15 15 %hr
16   -.span-11
  16 +.left.width-49p
17 17 %h3 Commits
18 18 =render "projects/recent_commits"
19 19  
20   -.span-11.right
  20 +.right.width-49p
21 21 %h3 Talk
22 22 =render "projects/recent_messages"
23 23  
... ...