From cba69a924a34643f13d7f40735ee545282746c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=A4hnlein?= <50739746+Sebastian-Haehnlein@users.noreply.github.com> Date: Mon, 2 Dec 2019 11:04:15 +0100 Subject: [PATCH] fix: lazy loading (ng-defer-load) works in chromium only on block-elements (#28) closes #28 --- .../category-image/category-image.component.html | 4 ++-- .../cms/components/cms-image/cms-image.component.html | 4 ++-- .../cms/components/cms-image/cms-image.component.spec.ts | 7 ++++--- .../components/product-image/product-image.component.html | 4 ++-- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/app/pages/category/components/category-image/category-image.component.html b/src/app/pages/category/components/category-image/category-image.component.html index 27b6962ba9..c490ff6bf5 100644 --- a/src/app/pages/category/components/category-image/category-image.component.html +++ b/src/app/pages/category/components/category-image/category-image.component.html @@ -1,3 +1,3 @@ - +
- +
diff --git a/src/app/shared/cms/components/cms-image/cms-image.component.html b/src/app/shared/cms/components/cms-image/cms-image.component.html index 7ece1c8089..94eed4b783 100644 --- a/src/app/shared/cms/components/cms-image/cms-image.component.html +++ b/src/app/shared/cms/components/cms-image/cms-image.component.html @@ -12,14 +12,14 @@ - +
- +