Commit 52440ea9 authored by Clement Ho's avatar Clement Ho

fix blobs edit spec

parent b94c1b38
......@@ -24,7 +24,7 @@
display: none;
}
.show {
.show.dropdown {
.dropdown-menu,
.dropdown-menu-nav {
@include set-visible;
......
......@@ -30,7 +30,7 @@
.file-editor.code
%pre.js-edit-mode-pane#editor= params[:content] || local_assigns[:blob_data]
- if local_assigns[:path]
.js-edit-mode-pane#preview.d-none
.js-edit-mode-pane#preview.hide
.center
%h2
%i.icon-spinner.icon-spin
......@@ -2,7 +2,7 @@
- sum_removed_lines = diff_files.sum(&:removed_lines)
.commit-stat-summary.dropdown
Showing
%button.diff-stats-summary-toggler.js-diff-stats-dropdown{ type: "button", data: { toggle: "dropdown" } }<
%button.diff-stats-summary-toggler.js-diff-stats-dropdown{ type: "button", data: { toggle: "dropdown", display: "static" } }<
= pluralize(diff_files.size, "changed file")
= icon("caret-down", class: "prepend-left-5")
%span.diff-stats-additions-deletions-expanded#diff-stats
......
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