@wlloyalty/wll-react-sdk 1.0.75 → 1.0.77

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,9 @@ var Grid = function (_a) {
3656
3656
  };
3657
3657
  }
3658
3658
  else {
3659
- var tileWidth = SCREEN_WIDTH / columns;
3659
+ var horizontalPadding = GRID_GAP;
3660
+ var availableWidth = SCREEN_WIDTH - horizontalPadding * 2;
3661
+ var tileWidth = (availableWidth - (columns - 1) * GRID_GAP) / columns;
3660
3662
  return {
3661
3663
  width: tileWidth,
3662
3664
  marginBottom: GRID_GAP,