@mjhls/mjh-framework 1.0.388 → 1.0.390

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.
@@ -208,12 +208,16 @@ var MasterDeck = function (_React$Component) {
208
208
  onChange: function onChange(isVisible) {
209
209
  isVisible && _this.changePageNumber(pageNumber);
210
210
  } },
211
- React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage })
212
- ),
213
- main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
214
- 'div',
215
- { style: { margin: '0 auto' } },
216
- _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
211
+ React__default.createElement(
212
+ 'div',
213
+ null,
214
+ React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
215
+ main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
216
+ 'div',
217
+ { className: 'ad-container', style: { margin: '0 auto' } },
218
+ _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
219
+ )
220
+ )
217
221
  )
218
222
  );
219
223
  })
@@ -222,7 +226,7 @@ var MasterDeck = function (_React$Component) {
222
226
  var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
223
227
  return React__default.createElement(
224
228
  'div',
225
- { style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
229
+ { className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
226
230
  rightItems[i].component
227
231
  );
228
232
  }, _this.renderManualPagination = function () {