@wlloyalty/wll-react-sdk 1.0.79 → 1.0.80

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/dist/native.js CHANGED
@@ -3656,7 +3656,6 @@ var Grid = function (_a) {
3656
3656
  };
3657
3657
  }
3658
3658
  else {
3659
- // For mobile, we need to be very precise with our calculations
3660
3659
  var horizontalPadding = GRID_GAP;
3661
3660
  var availableWidth = SCREEN_WIDTH - horizontalPadding * 2;
3662
3661
  var gapSpace = (columns - 1) * GRID_GAP;
@@ -3700,8 +3699,8 @@ var Grid = function (_a) {
3700
3699
  tileContainers.push(jsxRuntimeExports.jsx(reactNative.View, { style: [
3701
3700
  // @ts-ignore Web uses CSS calc strings for responsive layouts, while ViewStyle expects numbers
3702
3701
  getTileWidth(columnsPerRow),
3703
- !isLastInRow && { marginRight: GRID_GAP },
3704
- { overflow: 'hidden' }, // Prevent content from overflowing
3702
+ IS_WEB && !isLastInRow && { marginRight: GRID_GAP },
3703
+ { overflow: 'hidden' },
3705
3704
  ], children: jsxRuntimeExports.jsx(TileContainer, { tiles: currentTiles }) }, "container-".concat(index)));
3706
3705
  currentTiles = [];
3707
3706
  }