Commit de55d7aa577e52315866f605a08c43e547877eec

Authored by Dmitriy Zaporozhets
1 parent 1c23333f

issue-box content can be shown on sm devices easily

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/views/projects/issues/_issue_context.html.haml
1 = form_for [@project, @issue], remote: true, html: {class: 'edit-issue inline-update'} do |f| 1 = form_for [@project, @issue], remote: true, html: {class: 'edit-issue inline-update'} do |f|
2 .row 2 .row
3 - .col-md-6 3 + .col-sm-6
4 %strong.append-right-10 4 %strong.append-right-10
5 Assignee: 5 Assignee:
6 6
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 - else 11 - else
12 None 12 None
13 13
14 - .col-md-6.text-right 14 + .col-sm-6.text-right
15 %strong.append-right-10 15 %strong.append-right-10
16 Milestone: 16 Milestone:
17 - if can?(current_user, :modify_issue, @issue) 17 - if can?(current_user, :modify_issue, @issue)
app/views/projects/merge_requests/show/_context.html.haml
1 = form_for [@project, @merge_request], remote: true, html: {class: 'edit-merge_request inline-update'} do |f| 1 = form_for [@project, @merge_request], remote: true, html: {class: 'edit-merge_request inline-update'} do |f|
2 .row 2 .row
3 - .col-md-6 3 + .col-sm-6
4 %strong.append-right-10 4 %strong.append-right-10
5 Assignee: 5 Assignee:
6 6
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 - else 11 - else
12 None 12 None
13 13
14 - .col-md-6.text-right 14 + .col-sm-6.text-right
15 %strong.append-right-10 15 %strong.append-right-10
16 Milestone: 16 Milestone:
17 - if can?(current_user, :modify_merge_request, @merge_request) 17 - if can?(current_user, :modify_merge_request, @merge_request)