@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/web.js CHANGED
@@ -20566,7 +20566,9 @@ var Grid = function (_a) {
20566
20566
  aspectRatio: 1
20567
20567
  };
20568
20568
  } else {
20569
- var tileWidth = SCREEN_WIDTH / columns;
20569
+ var horizontalPadding = GRID_GAP;
20570
+ var availableWidth = SCREEN_WIDTH - horizontalPadding * 2;
20571
+ var tileWidth = (availableWidth - (columns - 1) * GRID_GAP) / columns;
20570
20572
  return {
20571
20573
  width: tileWidth,
20572
20574
  marginBottom: GRID_GAP,