Commit e49aaf83 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds padding to the error block

parent 4b2ff003
......@@ -160,6 +160,10 @@
}
}
}
.diff-loading-error-block {
padding: $gl-padding $gl-padding*2;
}
}
.image {
......
......@@ -768,7 +768,6 @@
// wich causes a blank button when it's disabled and hovering
// The css in here is the boostrap one
.btn-link-retry {
&[disabled] {
cursor: not-allowed;
filter: alpha(opacity=65);
......@@ -781,4 +780,4 @@
text-decoration: none;
}
}
}
\ No newline at end of file
}
......@@ -30,7 +30,7 @@
%td.new_line.diff-line-num
%td.line_content.js-success-lazy-load
.js-code-placeholder
%td.line_content.js-error-lazy-load-diff.hidden
%td.js-error-lazy-load-diff.hidden.diff-loading-error-block
- button = button_tag(_("Try again"), class: "btn-link btn-link-retry btn-no-padding js-toggle-lazy-diff-retry-button")
= _("Unable to load the diff. %{button_try_again}").html_safe % { button_try_again: button}
= render "discussions/diff_discussion", discussions: [discussion], expanded: true
......
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