diff --git a/app/assets/stylesheets/pages/merge_conflicts.scss b/app/assets/stylesheets/pages/merge_conflicts.scss index fe81ce2eb6733a535fe64ca6e3d4131de8586093..a0309113054795d4585827b86d93cbc97b9d6c17 100644 --- a/app/assets/stylesheets/pages/merge_conflicts.scss +++ b/app/assets/stylesheets/pages/merge_conflicts.scss @@ -8,7 +8,7 @@ $origin_gutter: #e0f0ff; $selected_origin_gutter: #a3d3ff; $selected_origin_line: #cee4f9; -$unselected_gutter: #eeeeee; +$unselected_gutter: #eee; $unselected_line: #f8f8f8; @@ -93,8 +93,8 @@ $unselected_line: #f8f8f8; button { border-radius: 4px; - border: 1px solid #E1E1E1; - background: #FFF; + border: 1px solid #e1e1e1; + background: #fff; font-size: 10px; position: absolute; right: 20px; diff --git a/app/controllers/projects/merge_requests_controller.rb b/app/controllers/projects/merge_requests_controller.rb index 2f934729432d3ad8942d14686f926bdf50f09bea..abea9ced6245b3f5e9c86094c4dba687736c6690 100644 --- a/app/controllers/projects/merge_requests_controller.rb +++ b/app/controllers/projects/merge_requests_controller.rb @@ -140,7 +140,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController format.json do begin render json: Gitlab::Conflict::FileCollection.new(@merge_request) - rescue Gitlab::Conflict::Parser::ParserError, Gitlab::Conflict::FileCollection::ConflictSideMissing => e + rescue Gitlab::Conflict::Parser::ParserError, Gitlab::Conflict::FileCollection::ConflictSideMissing render json: { message: 'Unable to resolve conflicts in the web interface for this merge request', type: 'error'