Commit 88b48017 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve issue/mr page for tablets

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 5140a4cd
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
} }
} }
.merge-request .merge-request-tabs{ @media(min-width: $screen-sm-max) {
.merge-request .merge-request-tabs{
margin: 20px 0; margin: 20px 0;
li { li {
...@@ -28,6 +29,7 @@ ...@@ -28,6 +29,7 @@
font-size: 14px; font-size: 14px;
} }
} }
}
} }
.mr_source_commit, .mr_source_commit,
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
- else - else
= link_to 'Close Issue', project_issue_path(@project, @issue, issue: {state_event: :close }, status_only: true), method: :put, class: "btn btn-grouped btn-close js-note-target-close", title: "Close Issue" = link_to 'Close Issue', project_issue_path(@project, @issue, issue: {state_event: :close }, status_only: true), method: :put, class: "btn btn-grouped btn-close js-note-target-close", title: "Close Issue"
.row .row
.col-sm-9 .col-md-9
.participants .participants
%cite.cgray %cite.cgray
= pluralize(@issue.participants.count, 'participant') = pluralize(@issue.participants.count, 'participant')
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
= link_to_member(@project, participant, name: false, size: 24) = link_to_member(@project, participant, name: false, size: 24)
.voting_notes#notes= render "projects/notes/notes_with_form" .voting_notes#notes= render "projects/notes/notes_with_form"
.col-sm-3 .col-md-3.hidden-sm.hidden-xs
%div %div
.clearfix .clearfix
%span.slead.has_tooltip{:"data-original-title" => 'Cross-project reference'} %span.slead.has_tooltip{:"data-original-title" => 'Cross-project reference'}
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
= link_to 'Reopen', project_merge_request_path(@project, @merge_request, merge_request: {state_event: :reopen }), method: :put, class: "btn btn-grouped btn-reopen reopen-mr-link js-note-target-reopen", title: "Reopen merge request" = link_to 'Reopen', project_merge_request_path(@project, @merge_request, merge_request: {state_event: :reopen }), method: :put, class: "btn btn-grouped btn-reopen reopen-mr-link js-note-target-reopen", title: "Reopen merge request"
.row .row
.col-sm-9 .col-md-9
= render "projects/merge_requests/show/participants" = render "projects/merge_requests/show/participants"
= render "projects/notes/notes_with_form" = render "projects/notes/notes_with_form"
.col-sm-3 .col-md-3.hidden-sm.hidden-xs
.clearfix .clearfix
%span.slead.has_tooltip{:"data-original-title" => 'Cross-project reference'} %span.slead.has_tooltip{:"data-original-title" => 'Cross-project reference'}
= cross_project_reference(@project, @merge_request) = cross_project_reference(@project, @merge_request)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment