@gem-sdk/core 1.32.4 → 1.33.1
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.
|
@@ -225,7 +225,9 @@ const appendAnimation = (props, liquid)=>{
|
|
|
225
225
|
mobile: getInitOpacity('mobile')
|
|
226
226
|
};
|
|
227
227
|
const inheritParentStyle = {
|
|
228
|
-
all: tag === 'Section' ? '' : 'inherit'
|
|
228
|
+
all: tag === 'Section' ? '' : 'inherit',
|
|
229
|
+
position: 'static',
|
|
230
|
+
transform: 'translateX(0)'
|
|
229
231
|
};
|
|
230
232
|
return render.template`
|
|
231
233
|
${render.RenderIf(convert.isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${convert.baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
@@ -221,7 +221,9 @@ const appendAnimation = (props, liquid)=>{
|
|
|
221
221
|
mobile: getInitOpacity('mobile')
|
|
222
222
|
};
|
|
223
223
|
const inheritParentStyle = {
|
|
224
|
-
all: tag === 'Section' ? '' : 'inherit'
|
|
224
|
+
all: tag === 'Section' ? '' : 'inherit',
|
|
225
|
+
position: 'static',
|
|
226
|
+
transform: 'translateX(0)'
|
|
225
227
|
};
|
|
226
228
|
return template`
|
|
227
229
|
${RenderIf(isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|