replace code by reusable component

There is no need to add .text-center as it's already on the parent component
This commit is contained in:
Jean-Baptiste Bellet
2021-01-11 11:20:00 +01:00
parent 4d953abbe9
commit 6f24ecd973
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
.row.active_table_row{"ng-if" => "open()", "ng-click" => "toggle($event)", "ng-class" => "{'open' : open()}"}
.columns.small-12.fat.text-center{"ng-show" => "open() && shopfront_loading"}
%p.fullwidth
%img.spinner.text-center{ src: image_path("spinning-circles.svg") }
= render partial: "components/loading"
.columns.small-12.medium-7.large-7.fat{"ng-show" => "open() && !shopfront_loading"}
/ Will add in long description available once clean up HTML formatting producer.long_description

View File

@@ -1,7 +1,7 @@
.row.active_table_row{"ng-show" => "open()", "ng-click" => "toggle($event)", "ng-class" => "{'open' : open()}"}
.columns.small-12.fat.text-center{"ng-show" => "open() && shopfront_loading"}
%p.fullwidth
%img.spinner.text-center{ src: image_path("spinning-circles.svg") }
= render partial: "components/loading"
.columns.small-12.medium-6.large-5.fat{"ng-show" => "open() && !shopfront_loading"}
%div{"ng-if" => "::hub.taxons"}