Skip to content
Snippets Groups Projects
Verified Commit c5ec2a23 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Small UI improvements to merge request page

parent 95da91a6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -28,6 +28,10 @@
border-bottom: 1px solid $border-color;
color: $gl-gray;
 
&.oneline-block {
line-height: 42px;
}
&.white {
background-color: white;
}
Loading
Loading
Loading
Loading
@@ -367,7 +367,6 @@
 
.inline-parallel-buttons {
float: right;
margin-top: -5px;
}
 
// Mobile
Loading
Loading
Loading
Loading
@@ -137,7 +137,7 @@ module DiffHelper
# Always use HTML to handle case where JSON diff rendered this button
params_copy.delete(:format)
 
link_to url_for(params_copy), id: "inline-diff-btn", class: (params[:view] != 'parallel' ? 'btn btn-sm active' : 'btn btn-sm') do
link_to url_for(params_copy), id: "inline-diff-btn", class: (params[:view] != 'parallel' ? 'btn active' : 'btn') do
'Inline'
end
end
Loading
Loading
@@ -148,7 +148,7 @@ module DiffHelper
# Always use HTML to handle case where JSON diff rendered this button
params_copy.delete(:format)
 
link_to url_for(params_copy), id: "parallel-diff-btn", class: (params[:view] == 'parallel' ? 'btn active btn-sm' : 'btn btn-sm') do
link_to url_for(params_copy), id: "parallel-diff-btn", class: (params[:view] == 'parallel' ? 'btn active' : 'btn') do
'Side-by-side'
end
end
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@
 
- diff_files = safe_diff_files(diffs)
 
.gray-content-block.second-block
.gray-content-block.second-block.oneline-block
.inline-parallel-buttons
.btn-group
= inline_diff_btn
Loading
Loading
Loading
Loading
@@ -7,7 +7,7 @@
 
= render 'shared/show_aside'
 
.gray-content-block.second-block
.gray-content-block.second-block.oneline-block
.row
.col-md-9
.votes-holder.pull-right
Loading
Loading
.gray-content-block.second-block.oneline-block
= icon("sort-amount-desc")
Most recent commits displayed first
= render "projects/commits/commits", project: @merge_request.project
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment