@gem-sdk/core 1.23.0-staging.331 → 1.23.0-staging.336
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.
|
@@ -226,7 +226,8 @@ const appendAnimation = (props, liquid)=>{
|
|
|
226
226
|
};
|
|
227
227
|
const inheritParentStyle = {
|
|
228
228
|
all: tag === 'Section' ? '' : 'inherit',
|
|
229
|
-
position: 'static'
|
|
229
|
+
position: 'static',
|
|
230
|
+
transform: 'translateX(0)'
|
|
230
231
|
};
|
|
231
232
|
return render.template`
|
|
232
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>`)}
|
|
@@ -222,7 +222,8 @@ const appendAnimation = (props, liquid)=>{
|
|
|
222
222
|
};
|
|
223
223
|
const inheritParentStyle = {
|
|
224
224
|
all: tag === 'Section' ? '' : 'inherit',
|
|
225
|
-
position: 'static'
|
|
225
|
+
position: 'static',
|
|
226
|
+
transform: 'translateX(0)'
|
|
226
227
|
};
|
|
227
228
|
return template`
|
|
228
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>`)}
|