Commit d46d6fc1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve UI for phones

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8641cda4
...@@ -64,6 +64,21 @@ ...@@ -64,6 +64,21 @@
margin-left: 15px !important; margin-left: 15px !important;
max-width: 70% !important; max-width: 70% !important;
} }
.issue-info, .merge-request-info {
display: none;
}
.issue-details {
.creator,
.page-title .btn-close {
display: none;
}
}
%ul.notes .note-role, .note-actions {
display: none;
}
} }
@media (max-width: $screen-sm-max) { @media (max-width: $screen-sm-max) {
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
= render 'shared/issuable_search_form', path: namespace_project_merge_requests_path(@project.namespace, @project) = render 'shared/issuable_search_form', path: namespace_project_merge_requests_path(@project.namespace, @project)
- if can? current_user, :write_merge_request, @project - if can? current_user, :write_merge_request, @project
= link_to new_namespace_project_merge_request_path(@project.namespace, @project), class: "btn btn-new pull-left", title: "New Merge Request" do .pull-left.hidden-xs
= link_to new_namespace_project_merge_request_path(@project.namespace, @project), class: "btn btn-new", title: "New Merge Request" do
%i.fa.fa-plus %i.fa.fa-plus
New Merge Request New Merge Request
= render 'shared/issuable_filter', type: :merge_requests = render 'shared/issuable_filter', type: :merge_requests
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
%h3 %h3
= @user.name = @user.name
- if @user == current_user - if @user == current_user
.pull-right .pull-right.hidden-xs
= link_to profile_path, class: 'btn btn-sm' do = link_to profile_path, class: 'btn btn-sm' do
%i.fa.fa-pencil-square-o %i.fa.fa-pencil-square-o
Edit Profile settings Edit Profile settings
......
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