@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/web.js CHANGED
@@ -20566,8 +20566,7 @@ var Grid = function (_a) {
20566
20566
  aspectRatio: 1
20567
20567
  };
20568
20568
  } else {
20569
- var horizontalPadding = GRID_GAP;
20570
- var availableWidth = SCREEN_WIDTH - horizontalPadding * 2;
20569
+ var availableWidth = SCREEN_WIDTH - GRID_GAP * 2;
20571
20570
  var gapSpace = (columns - 1) * GRID_GAP;
20572
20571
  var tileWidth = Math.floor((availableWidth - gapSpace) / columns);
20573
20572
  return {
@@ -21991,15 +21990,15 @@ var styles = StyleSheet$1.create({
21991
21990
  flexDirection: 'column',
21992
21991
  flex: 1,
21993
21992
  aspectRatio: 1,
21994
- width: '100%' // Ensure the container takes full width
21993
+ width: '100%'
21995
21994
  },
21996
21995
  tileContainer: {
21997
21996
  flex: 1,
21998
- aspectRatio: 1,
21999
- width: '100%' // Ensure each tile takes full width of its container
21997
+ width: '100%'
22000
21998
  },
22001
21999
  halfTileContainer: {
22002
- flex: 0.5
22000
+ flex: 0.5,
22001
+ height: '50%'
22003
22002
  }
22004
22003
  });
22005
22004