@wlloyalty/wll-react-sdk 1.0.80 → 1.0.81

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,8 +3656,7 @@ var Grid = function (_a) {
3656
3656
  };
3657
3657
  }
3658
3658
  else {
3659
- var horizontalPadding = GRID_GAP;
3660
- var availableWidth = SCREEN_WIDTH - horizontalPadding * 2;
3659
+ var availableWidth = SCREEN_WIDTH - GRID_GAP * 2;
3661
3660
  var gapSpace = (columns - 1) * GRID_GAP;
3662
3661
  var tileWidth = Math.floor((availableWidth - gapSpace) / columns);
3663
3662
  return {
@@ -4661,15 +4660,15 @@ var styles = reactNative.StyleSheet.create({
4661
4660
  flexDirection: 'column',
4662
4661
  flex: 1,
4663
4662
  aspectRatio: 1,
4664
- width: '100%', // Ensure the container takes full width
4663
+ width: '100%',
4665
4664
  },
4666
4665
  tileContainer: {
4667
4666
  flex: 1,
4668
- aspectRatio: 1,
4669
- width: '100%', // Ensure each tile takes full width of its container
4667
+ width: '100%',
4670
4668
  },
4671
4669
  halfTileContainer: {
4672
4670
  flex: 0.5,
4671
+ height: '50%',
4673
4672
  },
4674
4673
  });
4675
4674