Commit e8d10b321716154421a0642e4d9f48d00c3aa56b
1 parent
84397ce8
Exists in
master
and in
4 other branches
issues fix layout
Showing
3 changed files
with
17 additions
and
4 deletions
Show diff stats
app/assets/stylesheets/projects.css.scss
@@ -660,3 +660,16 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | @@ -660,3 +660,16 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | ||
660 | .right { | 660 | .right { |
661 | float:right; | 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 | %h2 | 1 | %h2 |
2 | = "Issue ##{@issue.id} - #{html_escape(@issue.title)}" | 2 | = "Issue ##{@issue.id} - #{html_escape(@issue.title)}" |
3 | -.span-15 | 3 | +.left.width-65p |
4 | -#= simple_format html_escape(@issue.content) | 4 | -#= simple_format html_escape(@issue.content) |
5 | .issue_notes= render "notes/notes" | 5 | .issue_notes= render "notes/notes" |
6 | -.span-8.right | 6 | +.right.width-30p |
7 | .span-8 | 7 | .span-8 |
8 | - if @issue.closed | 8 | - if @issue.closed |
9 | %center.success Closed | 9 | %center.success Closed |
app/views/projects/show.html.haml
@@ -13,11 +13,11 @@ | @@ -13,11 +13,11 @@ | ||
13 | = label_tag "week_view","Week" | 13 | = label_tag "week_view","Week" |
14 | .clear | 14 | .clear |
15 | %hr | 15 | %hr |
16 | -.span-11 | 16 | +.left.width-49p |
17 | %h3 Commits | 17 | %h3 Commits |
18 | =render "projects/recent_commits" | 18 | =render "projects/recent_commits" |
19 | 19 | ||
20 | -.span-11.right | 20 | +.right.width-49p |
21 | %h3 Talk | 21 | %h3 Talk |
22 | =render "projects/recent_messages" | 22 | =render "projects/recent_messages" |
23 | 23 |