@mjhls/mjh-framework 1.0.434 → 1.0.435
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -382,7 +382,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
382
382
|
return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
if (index + 1 > heroContent + featureCount) {
|
|
385
|
+
if (brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) {
|
|
386
386
|
return React__default.createElement(
|
|
387
387
|
visibilitySensor.VisibilitySensor,
|
|
388
388
|
{
|
|
@@ -497,7 +497,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
497
497
|
React__default.createElement(
|
|
498
498
|
'style',
|
|
499
499
|
{ jsx: 'true' },
|
|
500
|
-
'\n .sanityDisplayLabel {\n margin: .5rem 0;\n border: 1px solid black;\n width: fit-content;\n padding: 5px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
500
|
+
'\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: fit-content;\n padding: 5px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
501
501
|
)
|
|
502
502
|
);
|
|
503
503
|
};
|
|
@@ -376,7 +376,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
376
376
|
return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
if (index + 1 > heroContent + featureCount) {
|
|
379
|
+
if (brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) {
|
|
380
380
|
return React__default.createElement(
|
|
381
381
|
VisibilitySensor,
|
|
382
382
|
{
|
|
@@ -491,7 +491,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
491
491
|
React__default.createElement(
|
|
492
492
|
'style',
|
|
493
493
|
{ jsx: 'true' },
|
|
494
|
-
'\n .sanityDisplayLabel {\n margin: .5rem 0;\n border: 1px solid black;\n width: fit-content;\n padding: 5px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
494
|
+
'\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: fit-content;\n padding: 5px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
495
495
|
)
|
|
496
496
|
);
|
|
497
497
|
};
|