Adds padding to the error block
This commit is contained in:
parent
4b2ff00392
commit
e49aaf838a
3 changed files with 6 additions and 3 deletions
|
@ -160,6 +160,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.diff-loading-error-block {
|
||||||
|
padding: $gl-padding $gl-padding*2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
|
|
|
@ -768,7 +768,6 @@
|
||||||
// wich causes a blank button when it's disabled and hovering
|
// wich causes a blank button when it's disabled and hovering
|
||||||
// The css in here is the boostrap one
|
// The css in here is the boostrap one
|
||||||
.btn-link-retry {
|
.btn-link-retry {
|
||||||
|
|
||||||
&[disabled] {
|
&[disabled] {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
filter: alpha(opacity=65);
|
filter: alpha(opacity=65);
|
||||||
|
@ -781,4 +780,4 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
%td.new_line.diff-line-num
|
%td.new_line.diff-line-num
|
||||||
%td.line_content.js-success-lazy-load
|
%td.line_content.js-success-lazy-load
|
||||||
.js-code-placeholder
|
.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")
|
- 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}
|
= _("Unable to load the diff. %{button_try_again}").html_safe % { button_try_again: button}
|
||||||
= render "discussions/diff_discussion", discussions: [discussion], expanded: true
|
= render "discussions/diff_discussion", discussions: [discussion], expanded: true
|
||||||
|
|
Loading…
Reference in a new issue