Skip to content

Commit

Permalink
Append spinner when running a query to obtain optimizer preview results.
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud authored and afoucret committed Feb 1, 2018
1 parent 100754f commit 3c243ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ div.optimizer-preview-fieldset {
}
}

.admin__data-grid-loading-mask {
position: fixed;
}

.product-list {
width: 100%;
margin: 0 40px 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<div class="admin__fieldset">

<div class="elasticsuite-optimizer-preview">
<div data-role="spinner" class="admin__data-grid-loading-mask" visible="loading" if="showSpinner">
<div class="spinner"><span repeat="8"></span></div>
</div>

<div data-bind="if: hasProducts()">

Expand Down

0 comments on commit 3c243ef

Please sign in to comment.