@mjhls/mjh-framework 1.0.90 → 1.0.91

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/index.js CHANGED
@@ -8431,13 +8431,13 @@ var FigureComponent = function FigureComponent(_ref) {
8431
8431
  var imgFloat = alignment.toLowerCase() === 'center' ? 'none' : alignment.toLowerCase();
8432
8432
  var figureMargin = void 0;
8433
8433
  if (imgFloat === 'none') {
8434
- figureMargin = '0 auto 2rem';
8434
+ figureMargin = '0 auto 1rem';
8435
8435
  }
8436
8436
  if (imgFloat === 'left') {
8437
- figureMargin = '0 2rem 2rem 0';
8437
+ figureMargin = '0 1rem 1rem 10%';
8438
8438
  }
8439
8439
  if (imgFloat === 'right') {
8440
- figureMargin = '0 0 2rem 2rem';
8440
+ figureMargin = '0 10% 1rem 1rem';
8441
8441
  }
8442
8442
  return React__default.createElement(
8443
8443
  reactBootstrap.Figure,
@@ -12047,13 +12047,13 @@ var Sidebar = function Sidebar(_ref) {
12047
12047
  content = _ref.content;
12048
12048
 
12049
12049
  return React__default.createElement(
12050
- reactBootstrap.Card,
12051
- { className: 'sidebar' },
12050
+ 'article',
12051
+ { className: 'sidebar', style: { background: '#eee', marginRight: '10%', marginLeft: '1rem', width: '40%', padding: '1rem 0 0' } },
12052
12052
  React__default.createElement(
12053
- reactBootstrap.Card.Body,
12053
+ 'div',
12054
12054
  null,
12055
12055
  React__default.createElement(
12056
- reactBootstrap.Card.Title,
12056
+ 'h3',
12057
12057
  null,
12058
12058
  caption
12059
12059
  ),