BigW Consortium Gitlab

Commit 52440ea9 by Clement Ho

fix blobs edit spec

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